3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 0x0 + 2; echo 0x0 + 0x2
Output for 5.4.0 - 5.4.8
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/3cKSN on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.18
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/3cKSN on line 3
Process exited with code 255.

preferences:
174.34 ms | 1386 KiB | 35 Q