3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = array(); array_push($x, 123,321,456,987,123,148,528,239); var_dump($x);
Output for 4.3.0 - 7.2.0
array(8) { [0]=> int(123) [1]=> int(321) [2]=> int(456) [3]=> int(987) [4]=> int(123) [5]=> int(148) [6]=> int(528) [7]=> int(239) }