3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $waa = null; echo get_class($waa);
Output for 5.3.1 - 7.1.0
Warning: get_class() called without object from outside a class in /in/jSQ2e on line 5
Output for 5.3.0
Warning: get_class() expects parameter 1 to be object, null given in /in/jSQ2e on line 5
Output for 4.3.0 - 5.2.17