Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Web technologies Questions | PHP Quiz | Set-3 | Question 15

  • Last Updated : 20 Sep, 2021

Which of the below function in PHP and is used to convert the String into an array ?
(A) add_last()
(B) str_split()
(C) str_casecmp()
(D) str_add()


Answer: (B)

Explanation: The str_split() in PHP is used to convert the given string into array .str_split() function split the string into some smaller string and then store it into the array.it takes the org_string and splitting_length as parameters.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!