]> granicus.if.org Git - php/commitdiff
- If prop_name is printed as unicode then class_name needs to be treated
authorMarcus Boerger <helly@php.net>
Sun, 14 Aug 2005 15:18:46 +0000 (15:18 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 14 Aug 2005 15:18:46 +0000 (15:18 +0000)
  in the exact same manner

ext/standard/var.c

index 3e8b28c9f2b362f135c575b6878d832d8c8e4592..c3ec12bfa141f545c106670b103953b4cea91d7b 100644 (file)
@@ -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) {