On Thu, February 14, 2008 11:10 am, Eric Butera wrote: > Just FYI the static keyword was quite popular in PHP4 for the > singleton pattern. You could do something like:
I have used and will continue to use the static keyword in functions, and will most likely never use a class in PHP... If a website is complicated enough to need a class hierarchy, then something is wrong in your Design. :-) :-) :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php