Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72281 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43323 invoked from network); 5 Feb 2014 17:28:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 17:28:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=rmwscbt@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rmwscbt@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.50 as permitted sender) X-PHP-List-Original-Sender: rmwscbt@gmail.com X-Host-Fingerprint: 209.85.216.50 mail-qa0-f50.google.com Received: from [209.85.216.50] ([209.85.216.50:34915] helo=mail-qa0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/C0-38005-2A472F25 for ; Wed, 05 Feb 2014 12:28:03 -0500 Received: by mail-qa0-f50.google.com with SMTP id cm18so1022999qab.9 for ; Wed, 05 Feb 2014 09:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TnfoOHN3czfZHIRlAXTTCp15KXGhZoVE+0tvXeaSM7E=; b=i/cD0+a1haAEioCXHDRJO/wA/SGmcVtA6impXLQ8S+zFa1Ee0POJNbnVeA2ddVASr1 4fTkoUrd1DaUm96ljBxArGep3f3wQmDxXCxJ7dGzVdITdfhiZG3LaZGivelXAYaam1NS KmTKLGbPRN8Ooa7Ot9GgStIFU4dJL79qdyZ2az8Zy8Oi/9UsiOGr6Deb/T/s/P7mJWw0 IEo4yz899+67egjp1NuHxyOL9S242wdlLtfMKw5RsO5aE25wmn5EE023J3MXUqBMLKhj +JwKSn951DT+i/Sl4BFRy+39xCM7Gt6tGqGyXIAY/PvnGJCo94M2FyVLOkbW9Cv6o1tl nvRA== MIME-Version: 1.0 X-Received: by 10.224.169.11 with SMTP id w11mr4515646qay.71.1391621280612; Wed, 05 Feb 2014 09:28:00 -0800 (PST) Received: by 10.140.40.146 with HTTP; Wed, 5 Feb 2014 09:28:00 -0800 (PST) In-Reply-To: <52F2518D.5010806@gmail.com> References: <1391603747.17454.13.camel@guybrush> <52F24BB7.7080802@gmail.com> <52F24E95.2080301@b1-systems.de> <52F2518D.5010806@gmail.com> Date: Wed, 5 Feb 2014 09:28:00 -0800 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0149cdb217c5cd04f1ac14e6 Subject: Re: [PHP-DEV] Singletons From: rmwscbt@gmail.com (George Wilson) --089e0149cdb217c5cd04f1ac14e6 Content-Type: text/plain; charset=ISO-8859-1 Forgive me, what is FIG? On Wed, Feb 5, 2014 at 6:58 AM, Rowan Collins wrote: > Ralf Lang wrote (on 05/02/2014): > > 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. >> > > ArrayObject includes actual implementation, and the interfaces it > implements activate special behaviour in the core. > > SplObserver and SplSubject appear, unless I'm much mistaken, are > equivalent to about 4 lines of userland PHP each defining 2 very simple > interfaces. That's exactly the kind of thing FIG is working on, e.g. a > Logger interface. I can't think of any reason, now that FIG and Composer > exist, that those interfaces would need to be compiled into a PHP extension. > > Not that I'd argue for their removal, now they do exist, but I see them as > an old experiment in pushing coding standards using the core of PHP, and > not a useful model for anything new. > > -- > Rowan Collins > [IMSoP] > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --089e0149cdb217c5cd04f1ac14e6--