3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = Array('red','cat','ball'); array_push($arr,'tiger'); var_dump($arr);
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(3) "red" [1]=> string(3) "cat" [2]=> string(4) "ball" [3]=> string(5) "tiger" }