3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = array (1, 2, 3, 4); $v = 0; $b = count($i)-1; for ($v; $v<=$b; $v++) { echo $i[$v]x$b; } ?>
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'x' (T_STRING), expecting ',' or ';' in /in/Q2iqJ on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/Q2iqJ on line 6
Process exited with code 255.