0

How do I make a singleton in PHP4? Is static available in PHP4?

1
  • Just as a note, PHP4 is deprecated and you should make serious efforts to upgrade your servers and code base to PHP5. Commented Feb 21, 2010 at 5:41

1 Answer 1

2

Yes, singletons are possible. Here's how.

Sign up to request clarification or add additional context in comments.

Comments