Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Explain me what is the difference between explode() and split() functions?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

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

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me the difference between include and require?Tell me what does the PHP error ‘Parse error in PHP – unexpected T_variable at line x’ means?