Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41525 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10756 invoked from network); 28 Oct 2008 14:45:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Oct 2008 14:45:05 -0000 X-Host-Fingerprint: 213.229.41.14 border-g21.inqnet.at Received: from [213.229.41.14] ([213.229.41.14:27001] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/F8-00734-17527094 for ; Tue, 28 Oct 2008 09:45:05 -0500 Message-ID: To: internals@lists.php.net Date: Tue, 28 Oct 2008 15:45:08 +0100 User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 References: <19.DC.27717.E51E7D84@pb1.pair.com> <1225133940.6991.28.camel@goldfinger.johannes.nop> <1225194459.14236.1.camel@localhost> <1225199218.14236.3.camel@localhost> In-Reply-To: <1225199218.14236.3.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 213.229.41.14 Subject: Re: [PHP-DEV] Adding pecl/http to core From: mike@php.net (Michael Wallner) Lars Strojny wrote: >> I've not seen plenty of "Class::singleton()" myself, getInstance is an >> accepted standard in all languages, including the PHP code I wrote, >> and I've had experience with. > > That's my point, yes. pecl_http uses ::singleton() instead of > getInstance(). Well, sure--that depends. PEAR for example defined ::singleton() as the standard name and most of the code I've dealt with at that time used ::singleton() either. I guess this is merely a matter of taste, respectively what's PHP going to use in the future. Regards, Mike