3v4l.org

run code in 300+ PHP versions simultaneously
<? $yourArray = array('first_key'=> 'First', 2, 3, 4, 5); $keys = array_keys($yourArray); echo "Key = ".$keys[0];

preferences:
75.58 ms | 404 KiB | 5 Q