3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank"); $rand_keys = array_rand($input,3); echo $input[$rand_keys] . "\n"; ?>
Output for 4.3.0 - 7.1.7
Warning: Illegal offset type in /in/b00Gv on line 4