3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $p = explode('', 'moo'); print_r($p);
Output for 5.2.5 - 5.6.30, 7.0.0 - 7.1.7
Warning: explode(): Empty delimiter in /in/X1BGL on line 3
Output for hhvm-3.10.1 - 3.17.3
Warning: Invalid argument: delimiter: (empty) in /in/X1BGL on line 3
Output for 4.3.2 - 5.2.4
Warning: explode(): Empty delimiter. in /in/X1BGL on line 3
Output for 4.3.0 - 4.3.1
Warning: explode() [http://www.php.net/function.explode]: Empty delimiter. in /in/X1BGL on line 3