3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = NULL; echo $t->id;
Output for 7.2.0
Notice: Trying to get property 'id' of non-object in /in/ED7UB on line 5
Output for 5.5.0 - 7.1.10
Notice: Trying to get property of non-object in /in/ED7UB on line 5
Output for 4.3.0 - 5.4.45