3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=array("a"=>"Dog","b"=>"Cat","c"=>"Horse"); var_dump( array_shift($a));
Output for 4.3.0 - 7.1.0
string(3) "Dog"