Re: Re: protected/private access and var_dump/print_r
| From: | Derick Rethans | Date: | Tue, 18 May 2004 09:46:50 +0000 |
| Subject: | Re: Re: protected/private access and var_dump/print_r | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9932@lists.php.net to get a copy of this message | ||
On Tue, 18 May 2004, Christian Schneider wrote:
> Sara Golemon wrote:
> > var_dump($someobject); shows only public properties (as I'd expect), but
> > print_r($someobject) shows all properties (explicitly identifying
> > protected/private props).
>
> I agree with Derick and Andrey in that if anything should be changed it
> is var_dump.
I don't want var_dump() to change.
Derick