πŸ“Š PHP
Q. What does the PHP function explode() do?
  • (A) Splits a string into an array
  • (B) Joins array elements into a string
  • (C) Searches for a substring
  • (D) Replaces text in a string
πŸ’¬ Discuss
βœ… Correct Answer: (A) Splits a string into an array

Explanation: explode() splits a string by a specified delimiter into an array.

Explanation by: Rati Dubey
explode() splits a string by a specified delimiter into an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
34
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
97%
Success Rate