3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $bikes = array ( array("4Speed bike",25,19), array("3Speed bike",26,18), array("2Speed bike",23,17), array("1Speed bike"27,21) ); echo $bikes [0][0].": How fast: ".$bikes[0][1]." , brakes: ".$bikes [0][2].".<br>"; echo $bikes [1][0].": How fast: ".$bikes[1][1]." , brakes: ".$bikes [1][2].".<br>"; echo $bikes [2][0].": How fast: ".$bikes[2][1]." , brakes: ".$bikes [2][2].".<br>"; echo $bikes [3][0].": How fast: ".$bikes[3][1]." , brakes: ".$bikes [3][2].".<br>"; ?> </body> </html>
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '27' (T_LNUMBER), expecting ')' in /in/QGMdW on line 11
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.28
Parse error: syntax error, unexpected T_LNUMBER, expecting ')' in /in/QGMdW on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_LNUMBER, expecting ')' in /in/QGMdW on line 11
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/QGMdW on line 11
Process exited with code 255.