3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var; $arr = array(); $arr[]; echo (!empty($arr));
Output for 5.3.0 - 5.3.14, 5.4.0 - 5.4.4
Fatal error: Cannot use [] for reading in rmb91 on line 4
Process exited with code 255.

preferences:
167.12 ms | 1387 KiB | 27 Q