1
0
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:
Ilia Alshanetsky
2007-09-09 16:33:34 +00:00
parent e041a39e25
commit 8ff31493b7

View File

@@ -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) {