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[2]] . "\n";

preferences:
28.84 ms | 402 KiB | 5 Q