3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $vari = "01001"; $expvari = explode("",$vari); echo $expvari[0]; ?>
Output for 5.2.5 - 7.2.0
Warning: explode(): Empty delimiter in /in/nSB8l on line 4
Output for 4.3.2 - 5.2.4
Warning: explode(): Empty delimiter. in /in/nSB8l on line 4
Output for 4.3.0 - 4.3.1
Warning: explode() [http://www.php.net/function.explode]: Empty delimiter. in /in/nSB8l on line 4