Singletons
| From: | Kevin Ingwersen | Date: | Wed, 05 Feb 2014 10:19:07 +0000 |
| Subject: | Singletons | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-72257@lists.php.net to get a copy of this message | ||
Hello. ^^
I just wanted to ask, if there is a singleton implementation? The current one is rather
„hackish“, by using a static property, initializer and a function to itneract with it all.
Sadly, I can not put a patch together myself - because I am not good with YACC and Flex yet, or with
the php vm - but i would have a concept for an implementation o.o
Kind regards, Ingwie