3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (is_a(NULL, Exception)) ? 'yes' : 'no';
based on hCDhQ
Output for 4.3.0 - 4.4.9, 5.3.0 - 7.1.0
Notice: Use of undefined constant Exception - assumed 'Exception' in /in/6JQHC on line 2 no
Output for 5.0.0 - 5.2.17
Notice: Use of undefined constant Exception - assumed 'Exception' in /in/6JQHC on line 2 Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /in/6JQHC on line 2 no