From: Marcus Boerger Date: Sun, 14 Aug 2005 15:08:38 +0000 (+0000) Subject: - Show classname very needed X-Git-Tag: PRE_NEW_OCI8_EXTENSION~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a19585eb4954b284c27b06b46c0ba9b384fca854;p=php - Show classname very needed - No 3rd " which doesn't help parsing # Does the class name need to be printed as u"" ? --- diff --git a/ext/standard/var.c b/ext/standard/var.c index 8d7c6eb25e..3e8b28c9f2 100644 --- a/ext/standard/var.c +++ b/ext/standard/var.c @@ -163,7 +163,7 @@ static int php_object_property_dump(zval **zv, int num_args, va_list args, zend_ if (class_name[0]=='*') { ZEND_PUTS(":protected"); } else { - ZEND_PUTS(":private"); + php_printf(":%s:private", class_name); } } else { if (hash_key->type == IS_STRING) { @@ -173,9 +173,8 @@ static int php_object_property_dump(zval **zv, int num_args, va_list args, zend_ php_printf("u"); php_var_dump_unicode(hash_key->u.unicode, hash_key->nKeyLength-1, verbose TSRMLS_CC); } - ZEND_PUTS(":public"); } - ZEND_PUTS("\"]=>\n"); + ZEND_PUTS("]=>\n"); } php_var_dump(zv, level + 2, verbose TSRMLS_CC); return 0;