3v4l.org

run code in 150+ 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 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.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) }