3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $o = new StdClass; $o2 = new StdClass; echo $o == $2 ? 'true' : 'false';
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '2' (T_LNUMBER), expecting variable (T_VARIABLE) or '$' in /in/oNq0H 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_VARIABLE or '$' in /in/oNq0H on line 5
Process exited with code 255.