3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $p=(explode('/','/some-dir/yourpage.php?q=bogus&n=10')); unset($p[0]); echo(gettype($p[0]));
based on 7bOYI
Output for 5.6.30, 7.0.30 - 7.3.0alpha1
Notice: Undefined offset: 0 in /in/o9ZZb on line 5 NULL
Output for hhvm-3.22.0
Notice: Undefined index: 0 in /in/o9ZZb on line -1 NULL
Output for hhvm-3.18.5 - 3.21.3
Notice: Undefined index: 0 in /in/o9ZZb on line 5 NULL