helly           Sun Aug 14 11:08:39 2005 EDT

  Modified files:              
    /php-src/ext/standard       var.c 
  Log:
  - Show classname very needed
  - No 3rd " which doesn't help parsing
  # Does the class name need to be printed as u"<name>" ?
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/var.c?r1=1.205&r2=1.206&ty=u
Index: php-src/ext/standard/var.c
diff -u php-src/ext/standard/var.c:1.205 php-src/ext/standard/var.c:1.206
--- php-src/ext/standard/var.c:1.205    Fri Aug 12 14:54:18 2005
+++ php-src/ext/standard/var.c  Sun Aug 14 11:08:38 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: var.c,v 1.205 2005/08/12 18:54:18 tony2001 Exp $ */
+/* $Id: var.c,v 1.206 2005/08/14 15:08:38 helly Exp $ */
 
 
 
@@ -163,7 +163,7 @@
                        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 @@
                                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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to