1.

Which one of the following preg PHP functions is used to take a string, and put it in an array?(a) preg_destroy()(b) preg_split()(c) preg_unchain()(d) preg_divide()The question was asked in semester exam.Enquiry is from Introduction to Preg in PHP topic in division Objects and Databases in PHP of PHP

Answer»

Right ANSWER is (b) preg_split()

For explanation: The string is broken up into different VALUES in the ARRAY based UPON your INPUT.



Discussion

No Comment Found

Related InterviewSolutions