decimal : [1-9][0-9]* | 0 hexadecimal : 0[xX][0-9a-fA-F]+ octal : 0[0-7]+ integer : [+-]?decimal | [+-]?hexadecimal | [+-]?octal
php -r "var_dump(08);"
The bottom line probably is that your literals just shouldn't have leading zeroes…
[1] http://www.php.net/manual/en/language.types.integer.php
The bottom line probably is that your literals just shouldn't have leading zeroes…
[1] http://www.php.net/manual/en/language.types.integer.php