πŸ“Š PHP
Q. Which PHP function splits a string into an array?
  • (A) str_split()
  • (B) explode()
  • (C) split()
  • (D) Both str_split() and explode()
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both str_split() and explode()

Explanation: explode() splits by delimiter, str_split() splits by length.

Explanation by: Mr. Dubey
explode() splits by delimiter, str_split() splits by length.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
43
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate