tony2001 Tue Mar 6 20:35:49 2007 UTC
Modified files:
/php-src/ext/standard var.c
Log:
be consistent with non-unicode implementation
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/var.c?r1=1.263&r2=1.264&diff_format=u
Index: php-src/ext/standard/var.c
diff -u php-src/ext/standard/var.c:1.263 php-src/ext/standard/var.c:1.264
--- php-src/ext/standard/var.c:1.263 Tue Mar 6 19:45:02 2007
+++ php-src/ext/standard/var.c Tue Mar 6 20:35:49 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: var.c,v 1.263 2007/03/06 19:45:02 tony2001 Exp $ */
+/* $Id: var.c,v 1.264 2007/03/06 20:35:49 tony2001 Exp $ */
@@ -539,7 +539,7 @@
U16_NEXT(ustr, i, ustr_len, cp);
switch (cp) {
case 0x0: /* '\0' */
- PHPWRITE("\\0", 2);
+ PHPWRITE("\\000", 4);
break;
case 0x27: /* '\'' */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php