Re: Support for friend classes
| From: | Derick Rethans | Date: | Wed, 11 Jan 2006 07:29:48 +0000 |
| Subject: | Re: Support for friend classes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21471@lists.php.net to get a copy of this message | ||
On Wed, 11 Jan 2006, Leon Matthews wrote:
> There is feature request on bugs.php.net (#34044) about this already, but no
> comments. Is there any support for this sort of thing out there?
If you only need friends for testing the contents of static properties,
then there are alternative ways. One solution might be to enhance
reflection to be able to peek into those objects (or did we already
allow this?). A second solution is:
http://derickrethans.nl/private_properties_exposed.php
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org