mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Unicode support (bug #31341)
This commit is contained in:
parent
47893ed920
commit
d464599515
1 changed files with 3 additions and 3 deletions
|
@ -2429,9 +2429,9 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
|||
|
||||
|
||||
<ST_DOUBLE_QUOTES,ST_BACKQUOTE,ST_HEREDOC>"\\{$" {
|
||||
zendlval->value.str.val = estrndup("{$", sizeof("{$")-1);
|
||||
zendlval->value.str.len = sizeof("{$")-1;
|
||||
zendlval->type = IS_STRING;
|
||||
if (!zend_copy_string_value(zendlval, yytext+1, yyleng-1, CG(literal_type) TSRMLS_CC)) {
|
||||
return 0;
|
||||
}
|
||||
return T_STRING;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue