3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A {} chr(new A());
Output for 4.3.0 - 5.0.5, 5.3.0 - 7.1.0
Output for 5.1.0 - 5.2.17
Notice: Object of class A could not be converted to int in /in/mf4Pg on line 5