3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank");$rand_keys = array_rand($input, 2);echo $input[$rand_keys[0]] . "\n";echo $input[$rand_keys[1]] . "\n";?>
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '$input ' (T_VARIABLE) in /in/1VuaG on line 1
Process exited with code 255.