Re: Static variable in a class method

From: Date: Thu, 14 Feb 2008 23:40:12 +0000
Subject: Re: Static variable in a class method
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-269345@lists.php.net to get a copy of this message
On Thu, February 14, 2008 5:14 pm, Stut wrote: > I'm only guessing, but instead of classes I would expect you to have a > fair few files that contain lots of functions, correct? No, just one file with a handful to a dozen functions, really... If the site is designed correctly, each page is doing something different enough that you'd only use the function in one place, and there's no point to using a function if it's only called/used in one place. :-) That's a bit of an exaggeration, but close enough for rock n roll. -- 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?

« previous php.general (#269345) next »