3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Twelve {} class_alias('Twelve', '12'); $twelve = '12'; $twelveObj = new ('12');
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '(' in /in/ghb92 on line 6
Process exited with code 255.