mirror of
https://github.com/php/php-src.git
synced 2024-12-18 22:41:20 +08:00
a8bf1c5d8f
Primarily to avoid getting fatal errors from token_get_all(). Implemented using a magic E_ERROR token, which the lexer emits to force a parser failure.
9 lines
113 B
PHP
9 lines
113 B
PHP
--TEST--
|
|
Invalid octal
|
|
--FILE--
|
|
<?php
|
|
|
|
$x = 08;
|
|
--EXPECTF--
|
|
Parse error: Invalid numeric literal in %s on line 3
|