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