From: Marcus Boerger Date: Sun, 14 Aug 2005 15:18:46 +0000 (+0000) Subject: - If prop_name is printed as unicode then class_name needs to be treated X-Git-Tag: PRE_NEW_OCI8_EXTENSION~267 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cdd5e86cc26d62700b6b81492b77714ff756a45d;p=php - If prop_name is printed as unicode then class_name needs to be treated in the exact same manner --- 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) {