Sr. PHP Programmer Question:

Download Job Interview Questions and Answers PDF

What is the use of explode() function?

Senior PHP Programmer Interview Question
Senior PHP Programmer 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 Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What are interfaces n PHP?How will you add a destructor function to a PHP class?