Re: cvs: php-src /ext/standard var.c /ext/standard/tests/array var_export2.phpt

From: Date: Mon, 20 Dec 2004 00:15:19 +0000
Subject: Re: cvs: php-src /ext/standard var.c /ext/standard/tests/array var_export2.phpt
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29596@lists.php.net to get a copy of this message
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. Andi

« previous php.cvs (#29596) next »