3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { function abc(){ echo 'asasasasas'; } } $a=new A; $b=new {get_class($a)};
Output for hhvm-3.10.0 - 3.12.0
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '{' in /in/n2g5n on line 18
Process exited with code 255.