3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=array("Dog","Cat","Horse"); print_r(array_pop($a)); print_r($a);
Output for 4.3.0 - 7.1.0
HorseArray ( [0] => Dog [1] => Cat )