Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72276 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29890 invoked from network); 5 Feb 2014 14:33:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 14:33:34 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.175 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.175 mail-wi0-f175.google.com Received: from [209.85.212.175] ([209.85.212.175:42076] helo=mail-wi0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/09-09402-CBB42F25 for ; Wed, 05 Feb 2014 09:33:33 -0500 Received: by mail-wi0-f175.google.com with SMTP id hm4so629515wib.14 for ; Wed, 05 Feb 2014 06:33:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=0q7rLMn2jbZBkxJR7/AF5xAq0UGEIYMEGu1qjdJ+UpA=; b=FSyU6uN7lL+be62h5S9a5NDvktVjBPR2i2t4Dq5yy83lafP+Tk6xpUJR5bbTxVAiG0 oJxaWak0iBlsprevfCzdhEdx+5s6rpMp8jc/vPQPEpfkqyJcbRTU7rARi724ePaIqhpE sIULj9DuGRrunfDkNzUp0e+esGQAbl6aIUdiAyijI3c6lm9J3UXsjZqRt10Mp3TjltMy 0DNOoSc2+Misvsao4g2SgSoaavVucvkroFLbbPjnw611v2jLN/A1vLI65Itqp7VjTW6F sgvTsBc1zjzT+6z8auhLZZ7QZnBlvniOlBGfTp+Jt1c3kDO+or/X+/Q6vlBaC/kAEdT1 R41g== X-Received: by 10.194.77.7 with SMTP id o7mr1582175wjw.35.1391610810091; Wed, 05 Feb 2014 06:33:30 -0800 (PST) Received: from [192.168.0.138] ([62.189.198.114]) by mx.google.com with ESMTPSA id bj3sm61955167wjb.14.2014.02.05.06.33.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Feb 2014 06:33:29 -0800 (PST) Message-ID: <52F24BB7.7080802@gmail.com> Date: Wed, 05 Feb 2014 14:33:27 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <1391603747.17454.13.camel@guybrush> In-Reply-To: <1391603747.17454.13.camel@guybrush> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Singletons From: rowan.collins@gmail.com (Rowan Collins) Johannes Schlüter 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 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. I wonder if anyone actually uses them... -- Rowan Collins [IMSoP]