3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $levers = array(array("1levier1", "1levier2", "1levier3"),array("2levier1", "2levier2", "2levier3"),array("3levier1", "3levier2", "3levier3")); print_r $levers[rand(1,3)];
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected '$levers' (T_VARIABLE) in /in/eGaIL on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE in /in/eGaIL on line 6
Process exited with code 255.