3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = null; echo get_class($a);
based on XClP1
Output for 7.2.0
Warning: get_class() expects parameter 1 to be object, null given in /in/ZaskL on line 5
Output for 5.3.21 - 7.1.10
Warning: get_class() called without object from outside a class in /in/ZaskL on line 5