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.4.0 - 5.4.17
Parse error: syntax error, unexpected '12' (T_LNUMBER) in /in/eA22J on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_LNUMBER in /in/eA22J on line 6
Process exited with code 255.