3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = object; echo is_object($a->b);
Output for 7.2.0 - 7.2.6
Warning: Use of undefined constant object - assumed 'object' (this will throw an Error in a future version of PHP) in /in/N9LHR on line 2 Notice: Trying to get property 'b' of non-object in /in/N9LHR on line 3
Output for 5.0.0 - 7.1.20
Notice: Use of undefined constant object - assumed 'object' in /in/N9LHR on line 2 Notice: Trying to get property of non-object in /in/N9LHR on line 3
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant object - assumed 'object' in /in/N9LHR on line 2