3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php get_class('foo');
Output for 5.3.0 - 7.1.0
Warning: get_class() expects parameter 1 to be object, string given in /in/7UB3t on line 2
Output for 4.3.0 - 5.2.17