3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = NULL; if (is_array($t->dummy['all'])) { echo "ARRAY"; } else { echo "Not Array!"; }
Output for 5.0.0 - 5.6.30, 7.0.0 - 7.1.10
Notice: Trying to get property of non-object in /in/FhiJl on line 5 Not Array!
Output for hhvm-3.10.1 - 3.17.3
Notice: Cannot access property on non-object in /in/FhiJl on line 5 Not Array!
Output for 4.3.0 - 4.4.9
Not Array!