PHP explode Function
What is explode Function in string?
The "explode" function always used to break or split a string into an array in PHP.
In the above syntax, "seperator" specifies where to break the strings, "string" specifies the strings to be split,"limit" specifies the number of array elements to be returned.
$str = "Hey how are you!";
 => Hey
 => how
 => are
 => you!
In the above PHP example the string "$str" is split into 4 array elements based on the blankspace between words.