explode()
function explode(string $separator, string $string, int $limit = PHP_INT_MAX): array
Splits a string by a separator into an array of substrings.
Parameters:
$separator(string)$string(string)$limit(int), defaultPHP_INT_MAX, optional
Returns: array
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how explode is implemented in the compiler, see the internals page.