3v4l.org

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