Sr. PHP Programmer Question:

What is the use of explode() function?

Tweet Share WhatsApp

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 PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
What are interfaces n PHP?How will you add a destructor function to a PHP class?