Vidyalelo
PHP · Q18

HTML Forms Handling

Programming · PHP · question 18

Q18

Which function is used to split a string into a series of substrings, with each string boundary is determined by a specific separator?

A.
break()
B.
divide()
C.
explode()
Answer
D.
md5()

Answer: Option C

Solution

Answer: Option C
Solution:
Although they are similar function, you should use explode() instead of split().In fact split() function has been deprecated altogether.