3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = null; $a->b;
Output for 7.2.0 - 7.2.12
Notice: Trying to get property 'b' of non-object in /in/b3GSj on line 5
Output for 5.0.0 - 5.6.38, 7.0.0 - 7.1.24
Notice: Trying to get property of non-object in /in/b3GSj on line 5
Output for hhvm-3.22.0
Notice: Cannot access property on non-object in /in/b3GSj on line -1
Output for hhvm-3.10.1 - 3.21.3
Notice: Cannot access property on non-object in /in/b3GSj on line 5
Output for 4.3.0 - 4.4.9