3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = 08; echo $val;
Output for 7.0.0
Parse error: Invalid numeric literal in /in/RZpJ0 on line 3
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
0

preferences:
168.1 ms | 1395 KiB | 35 Q