Re: Re: protected/private access and var_dump/print_r
| From: | Jan Schneider | Date: | Thu, 20 May 2004 10:50:09 +0000 |
| Subject: | Re: Re: protected/private access and var_dump/print_r | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9962@lists.php.net to get a copy of this message | ||
Zitat von Andi Gutmans <andi@zend.com>:
I'm OK with adding it to print_r() too if no one has any serious objections.Perhaps only for members explicitely declared public, as opposed to var-style properties.
At 12:04 PM 5/20/2004 +0200, Derick Rethans wrote:Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting.phpOn Thu, 20 May 2004, Andi Gutmans wrote:Fine with me. I'm not sure printing public is a bad idea. How many ppl actually use this in their application for purposes other than debugging?Well, print_r doesn't print it either; so IMO if we add public here, we need to do that for print_r too. regards, Derick-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php