Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21471 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61760 invoked by uid 1010); 11 Jan 2006 07:30:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 61740 invoked from network); 11 Jan 2006 07:30:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2006 07:30:10 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:34404] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 50/36-65277-BF3B4C34 for ; Wed, 11 Jan 2006 02:30:06 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id k0B7Tv2a016194; Wed, 11 Jan 2006 08:29:58 +0100 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id k0B7Tr6W016189; Wed, 11 Jan 2006 08:29:54 +0100 Date: Wed, 11 Jan 2006 08:29:48 +0100 (CET) X-X-Sender: derick@localhost To: Leon Matthews cc: internals@lists.php.net In-Reply-To: Message-ID: References: X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] Support for friend classes From: derick@php.net (Derick Rethans) 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