3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getRandomName(){ $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"; }

preferences:
31.91 ms | 402 KiB | 5 Q