3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = range(1,10,2); print_r($array); $arr_p = array(); for($i=0;i<10;i++){ array_push($arr_p,$i); } print_r($arr_p); ?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected '++' (T_INC), expecting ')' in /in/uuDdb on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_INC, expecting ')' in /in/uuDdb on line 10
Process exited with code 255.