3v4l.org

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