mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00: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
178 B
PHP
9 lines
178 B
PHP
--TEST--
|
|
Invalid Unicode escape sequence: Negative sign
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump("\u{-1F602}");
|
|
--EXPECTF--
|
|
Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
|