3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank"); $rand_keys = array_rand($input,4); echo $input[$rand_keys[1]] . "\n";

preferences:
35.05 ms | 402 KiB | 5 Q