Array
(
[0] => 1
[1] => 2
[2] => 3
)
Array
(
[0] => 2
)
Array
(
[0] =>
)
Fatal error: Uncaught ValueError: explode(): Argument #1 ($separator) must not be empty, use str_split() to split a string into characters in /in/eKMav:13
Stack trace:
#0 /in/eKMav(13): explode('', '123')
#1 {main}
thrown in /in/eKMav on line 13
Process exited with code 255.
Output for 8.4.1 - 8.4.28, 8.5.0 - 8.5.13
Array
(
[0] => 1
[1] => 2
[2] => 3
)
Array
(
[0] => 2
)
Array
(
[0] =>
)
Fatal error: Uncaught ValueError: explode(): Argument #1 ($separator) must not be empty in /in/eKMav:13
Stack trace:
#0 /in/eKMav(13): explode('', '123')
#1 {main}
thrown in /in/eKMav on line 13
Process exited with code 255.