mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
be consistent with non-unicode implementation
This commit is contained in:
parent
98e832d29e
commit
05dd85e7c9
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ static void php_unicode_export(UChar *ustr, int ustr_len TSRMLS_DC)
|
|||
U16_NEXT(ustr, i, ustr_len, cp);
|
||||
switch (cp) {
|
||||
case 0x0: /* '\0' */
|
||||
PHPWRITE("\\0", 2);
|
||||
PHPWRITE("\\000", 4);
|
||||
break;
|
||||
|
||||
case 0x27: /* '\'' */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue