3v4l.org

run code in 300+ PHP versions simultaneously
<?php $int = 001; var_dump($int); $int = 0019; var_dump($int);
Output for 7.0.0
Parse error: Invalid numeric literal in /in/br48C on line 6
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
int(1) int(1)

preferences:
174.12 ms | 1395 KiB | 35 Q