Not everybody is developing on PHP5 these days, even though PHP4 is no longer supported *yikes!*
And these people (namely me) need a way to implement the Singleton pattern.
The Singleton pattern is single-handedly the single most useful pattern when you only ever want to have one instance of a class instantiated at any one time.
Now [...]
From the category archives: