3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 432; echo $a->4;
Output for 5.4.0 - 5.5.0
Parse error: syntax error, unexpected '4' (T_LNUMBER), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/091VI on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_LNUMBER, expecting T_STRING or T_VARIABLE or '{' or '$' in /in/091VI on line 5
Process exited with code 255.