be consistent with non-unicode implementation

This commit is contained in:
Antony Dovgal 2007-03-06 20:35:49 +00:00
parent 98e832d29e
commit 05dd85e7c9

View file

@ -539,7 +539,7 @@ static void php_unicode_export(UChar *ustr, int ustr_len TSRMLS_DC)
U16_NEXT(ustr, i, ustr_len, cp); U16_NEXT(ustr, i, ustr_len, cp);
switch (cp) { switch (cp) {
case 0x0: /* '\0' */ case 0x0: /* '\0' */
PHPWRITE("\\0", 2); PHPWRITE("\\000", 4);
break; break;
case 0x27: /* '\'' */ case 0x27: /* '\'' */