Re: Singletons

From: Date: Wed, 05 Feb 2014 12:35:46 +0000
Subject: Re: Singletons
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-72269@lists.php.net to get a copy of this message
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

« previous php.internals (#72269) next »