[I post this to php-dev@ since my mail to engine2@ didn't make it.]
  [Is engine2@ down?]

  It'd ease debugging of applications if print_r() and var_dump() would
  show the proper name of private and protected members:

    <?php
    class Test {
      private $test;
    
      function __construct() {
        $this->test = 'test';
      }
    }
    
    $test = new Test;
    print_r($test);
    var_dump($test);
    ?>
    
  Output:

    test Object
    (
        [] => test
    )

    object(test)(1) {
      [""]=>
      string(4) "test"
    }

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to