From cdd5e86cc26d62700b6b81492b77714ff756a45d Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 14 Aug 2005 15:18:46 +0000 Subject: [PATCH] - If prop_name is printed as unicode then class_name needs to be treated in the exact same manner --- ext/standard/var.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/standard/var.c b/ext/standard/var.c index 3e8b28c9f2..c3ec12bfa1 100644 --- a/ext/standard/var.c +++ b/ext/standard/var.c @@ -163,7 +163,9 @@ static int php_object_property_dump(zval **zv, int num_args, va_list args, zend_ if (class_name[0]=='*') { ZEND_PUTS(":protected"); } else { - php_printf(":%s:private", class_name); + php_printf(":u"); + php_var_dump_unicode((UChar*)class_name, u_strlen((UChar*)class_name), verbose TSRMLS_CC); + ZEND_PUTS(":private"); } } else { if (hash_key->type == IS_STRING) { -- 2.50.1