3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = NULL; empty($x['foo']->bar->k[$x['z']]); print "OK\n";
based on 9FUdV
Output for 4.3.0 - 4.4.9, 5.1.6 - 7.1.0
OK
Output for 5.0.0 - 5.1.5
Notice: Trying to get property of non-object in /in/ZQYIR on line 4 Notice: Trying to get property of non-object in /in/ZQYIR on line 4 OK