3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[]; print_r($a); array_key_exists("test", $a);
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.19
Fatal error: Cannot use [] for reading in /in/LTmuu on line 4
Process exited with code 255.

preferences:
185.69 ms | 1387 KiB | 55 Q