What is explode() function in PHP?

Posted by Editorial Staff | Updated on

What is explode() function in PHP?

The explode() is a builtin function which breaks a string into an array.

Syntax

Example #1 explode() function

Output

That’s all, we hope this helped you!


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers