Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72274 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25889 invoked from network); 5 Feb 2014 14:08:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 14:08:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=krebs.seb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=krebs.seb@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.175 as permitted sender) X-PHP-List-Original-Sender: krebs.seb@gmail.com X-Host-Fingerprint: 209.85.216.175 mail-qc0-f175.google.com Received: from [209.85.216.175] ([209.85.216.175:34716] helo=mail-qc0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/38-09402-8F542F25 for ; Wed, 05 Feb 2014 09:08:56 -0500 Received: by mail-qc0-f175.google.com with SMTP id x13so637147qcv.6 for ; Wed, 05 Feb 2014 06:08:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BljSlKIlUGKXLlOsaLnj/mBfjLMrxG232GByNuVvlu8=; b=bRMYWiXRW9LXZLA5RzK33ba2LoC4jzqQV7PQv5QEsE5ZGoKNsr9nbeVw6/rifMh8pc xi6Sb+cg1pG0jJAMD+5vai5F+ofUB5VG/SXReHeklrB7DqsR96z10g8wEW5bZBweupWa cZy7habVKpusClSDbSraOxk5y2Bu11bsD3ecaGEf4RTuY3B5ZUhk93mZBjKZ7EEZUwbW TALMyN9qL29y3+zd8wUXqT9stQbqfWVslvXDfqGISyzmcMgAnIG3k9FbC1DELneL30KJ l2qGi6cS4uRBMNYxQB7zbS5NNIwzthpQq/fC63qi0ziIQe0EwLCToyUXOz47K9hcA2ya 048w== X-Received: by 10.224.137.66 with SMTP id v2mr2757967qat.104.1391609332154; Wed, 05 Feb 2014 06:08:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.87.151 with HTTP; Wed, 5 Feb 2014 06:08:12 -0800 (PST) In-Reply-To: <1391603747.17454.13.camel@guybrush> References: <1391603747.17454.13.camel@guybrush> Date: Wed, 5 Feb 2014 15:08:12 +0100 Message-ID: To: =?ISO-8859-1?Q?Johannes_Schl=FCter?= Cc: Marco Pivetta , Kevin Ingwersen , internals Content-Type: multipart/alternative; boundary=001a11c2ccd4e8c4a104f1a94bf8 Subject: Re: [PHP-DEV] Singletons From: krebs.seb@gmail.com (Sebastian Krebs) --001a11c2ccd4e8c4a104f1a94bf8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2014-02-05 Johannes Schl=FCter : > 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 > > OK, it's in the core, but not part of the language (somehow). You know, what I meant ;) > That said: We won't add singleton. Creating a trait in userspace is > trivial for the ones who really want to use it. > > johannes > > --=20 github.com/KingCrunch --001a11c2ccd4e8c4a104f1a94bf8--