3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); $a = array(array('1', '2', '3')); var_dump(empty($a[0][0]), empty($a[0][4]), empty($a[1][2]), empty($a[1][2][3]));
Output for 4.3.0 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
bool(false) bool(true) bool(true) bool(true)
Output for hhvm-3.10.0

Process exited with code 153.