The ________ function in PHP returns an array of strings, each of which is a substring of the original string formed by splitting it on boundaries formed by a specified delimiter.

  • explode()
  • split()
  • slice()
  • splitString()
The 'explode()' function in PHP is used to split a string into an array of substrings using a specified delimiter. This is commonly used for parsing data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *