Re: Reusable Singleton pattern using PHP5
| From: | Jochem Maas | Date: | Tue, 25 Apr 2006 21:17:51 +0000 |
| Subject: | Re: Reusable Singleton pattern using PHP5 | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234728@lists.php.net to get a copy of this message | ||
Stut wrote:
Jochem Maas wrote:er, yes - good catch Stut!Simas Toleikis wrote:I'm thinking you meant to put a 'not' somewhere in there, as in "but I would *not* recommend it for production code".thing :-/ Though i wonder if there are any other hacks using some sort of classkit/other class manipulation functions?probably runkit (or is it classkit - can't remember which of those is more actively developed) might give a way out - but I would recommend it for production code.
-Stut