Mark As Completed Discussion

#5 - PHP Explode Function

PHP explode function splits a string into an array. The split is based on a specific character. Here’s the syntax of this function.

explode(string $separator, string $string, int $limit = PHP_INT_MAX): array

Here the $separator is a specific character that determines the split points in the string.

Source

https://www.php.net/manual/en/function.explode.ph

PHP
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment