3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = new \StdClass(); echo get_class($t);
Output for 5.3.0 - 7.2.0
stdClass
Output for 5.2.3 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/nH07H on line 2 stdClass
Output for 4.3.0 - 5.2.2
<br /> <b>Warning</b>: Unexpected character in input: '\' (ASCII=92) state=1 in <b>/in/nH07H</b> on line <b>2</b><br /> stdClass