Re: cvs: php-src /ext/standard var.c /ext/standard/tests/array var_export2.phpt
| From: | Derick Rethans | Date: | Mon, 20 Dec 2004 10:08:59 +0000 |
| Subject: | Re: cvs: php-src /ext/standard var.c /ext/standard/tests/array var_export2.phpt | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs php.doc |
| Request: | Send a blank email to phpdoc+get-969365535@lists.php.net to get a copy of this message | ||
On Sun, 19 Dec 2004, Andi Gutmans wrote:
> At 03:42 AM 12/18/2004 +0100, Derick Rethans wrote:
> >On Fri, 17 Dec 2004, Andi Gutmans wrote:
> >
> > > OK I think restoring BC for now is OK. I'm not sure var_dump() really has
> >
> >var_export() you mean?
> >
> > > to support protected/private but the manual says so: "The first one is that
> > > the returned representation is valid PHP code, the second that it will also
> > > return protected and private properties of an object with PHP 5.".
> > > So we might want to fix one or the other at some point :)
> >
> >I've no idea why that last line was added, it's simply incorrect. This
> >was never my plan to add. Also, those are *object* properties, which
> >have nothing to do with the code that I just changed ;-)
>
> I didn't realize that. I thought that code also ran for object properties.
> Yeah, I meant var_export() and it seems like the PHP manual might need fixing.
Yup, and that's why I'm CC-ing them now. :)
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org