Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72269 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14262 invoked from network); 5 Feb 2014 12:35:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 12:35:54 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:32913] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/26-09402-72032F25 for ; Wed, 05 Feb 2014 07:35:52 -0500 Received: from [192.168.2.31] (ppp-188-174-40-48.dynamic.mnet-online.de [188.174.40.48]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id D99F43FE8D; Wed, 5 Feb 2014 13:36:26 +0100 (CET) To: Sebastian Krebs Cc: Marco Pivetta , Kevin Ingwersen , internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 05 Feb 2014 13:35:46 +0100 Message-ID: <1391603747.17454.13.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Singletons From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?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 That said: We won't add singleton. Creating a trait in userspace is trivial for the ones who really want to use it. johannes