3v4l.org

run code in 200+ 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 - 7.2.0
bool(false) bool(true) bool(true) bool(true)