explode
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Split a string by a string
<?php explode
(
string $separator
,
string $string
,
int $limit
=
PHP_INT_MAX
): array