Sr. PHP Programmer Question:

What is the difference between explode() and split() functions?

Senior PHP Programmer Interview Question
Senior PHP Programmer Interview Question

Answer:

Split function splits string into array by regular expression. Explode splits a string into array by string.


Previous QuestionNext Question
Tell me how to set cookies in PHP?What is the use of isset() in php?