Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Tell me what is the use of explode() function?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

Syntax :
array explode ( string $delimiter , string $string [, int $limit ] );

This function breaks a string into an array. Each of the array elements is a substring of string formed by splitting it on boundaries formed by the string delimiter.

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me how to include a file to a php page?Explain me what is the importance of "method" attribute in a html form?