Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72277 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31629 invoked from network); 5 Feb 2014 14:45:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 14:45:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=lang@b1-systems.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lang@b1-systems.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain b1-systems.de designates 84.200.69.220 as permitted sender) X-PHP-List-Original-Sender: lang@b1-systems.de X-Host-Fingerprint: 84.200.69.220 mx1.b1-systems.de Received: from [84.200.69.220] ([84.200.69.220:47193] helo=mx1.b1-systems.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/59-09402-A9E42F25 for ; Wed, 05 Feb 2014 09:45:47 -0500 Received: from [192.168.1.17] (cable-95-168-132-19.cust.telecolumbus.net [95.168.132.19]) by mx1.b1-systems.de (Postfix) with ESMTPSA id C7FA94084; Wed, 5 Feb 2014 15:31:09 +0100 (CET) Message-ID: <52F24E95.2080301@b1-systems.de> Date: Wed, 05 Feb 2014 15:45:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Rowan Collins , "internals@lists.php.net" References: <1391603747.17454.13.camel@guybrush> <52F24BB7.7080802@gmail.com> In-Reply-To: <52F24BB7.7080802@gmail.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NHqBNBKQ8tdjSTBeUeFadk79UU0U0vAq1" Subject: Re: [PHP-DEV] Singletons From: lang@b1-systems.de (Ralf Lang) --NHqBNBKQ8tdjSTBeUeFadk79UU0U0vAq1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05.02.2014 15:33, Rowan Collins wrote: > Johannes Schl=C3=BCter wrote (on 05/02/2014): >> On Wed, 2014-02-05 at 13:09 +0100, Sebastian Krebs wrote: >>> Beside this: Thats how it works in all me known languages. I don't >>> know any >>> language, where a pattern (in any form) is part of the core. >> You mean like PHP which i.e. ships Observer pattern? >> http://php.net/splobserver >=20 > Personally, I've never really understood what the point of those > interfaces is; I guess just for standardisation, which could (now) be > better achieved in a standardisation body like FIG. >=20 > I wonder if anyone actually uses them... Yes, I used them (and ArrayObject) on some occassions. I see no conflict between having them in core and FIG agreeing on their usage or something different. But that's nothing about singletons, which I haven't used since php4 era.= --=20 Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstra=C3=9Fe 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 --NHqBNBKQ8tdjSTBeUeFadk79UU0U0vAq1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlLyTpcACgkQCs1dsHJ/X7BEEgCg6wFO70thPZctxkipGN3tv8WN BUQAoL4PZZNOxZavitRQqKw0STvzVwsw =oiqo -----END PGP SIGNATURE----- --NHqBNBKQ8tdjSTBeUeFadk79UU0U0vAq1--