1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 17:09:41 +01:00
PHP-Parser/test/code/parser/scalar/invalidOctal.test
2017-01-19 22:25:22 +01:00

26 lines
324 B
Plaintext

Invalid octal literals
-----
<?php
0787;
-----
!!php7
Invalid numeric literal from 2:1 to 2:4
array(
0: Stmt_Expression(
expr: Scalar_LNumber(
value: 0
)
)
)
-----
<?php
0787;
-----
!!php5
array(
0: Stmt_Expression(
expr: Scalar_LNumber(
value: 7
)
)
)