3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '1337'; $b = explode(',', $a, -1); var_dump($b);
Output for 5.1.0 - 7.1.0
array(0) { }
Output for 4.3.0 - 5.0.5
array(1) { [0]=> string(4) "1337" }