3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var; $arr = array(); $arr[]; echo (!empty($arr));
Output for 5.3.0 - 5.4.4
Fatal error: Cannot use [] for reading in /in/rmb91 on line 4
Process exited with code 255.