mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
Fixed bug #42590 (Make the engine recornize \v and \f escape sequences)
This commit is contained in:
@@ -819,6 +819,14 @@ static void zend_scan_escape_string(zval *zendlval, char *str, int len, char quo
|
||||
*t++ = '\t';
|
||||
zendlval->value.str.len--;
|
||||
break;
|
||||
case 'f':
|
||||
*t++ = '\f';
|
||||
zendlval->value.str.len--;
|
||||
break;
|
||||
case 'v':
|
||||
*t++ = '\v';
|
||||
zendlval->value.str.len--;
|
||||
break;
|
||||
case '"':
|
||||
case '`':
|
||||
if (*s != quote_type) {
|
||||
|
||||
Reference in New Issue
Block a user