"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Walter,
Hi Greg...
> in PHP 4, you can kludge this:
>
> Class Foo
> {
> function getBaz($set = null)
> {
> static $_TintBaz = 9;
> if (!is_null($set)) {
> $_TintBaz = $set;
> }
> return $_TintBaz;
> }
> }
So I take it that this "kludge" will return a method variable, not a class
property.
mmm.
Thx for the help.
This Class thing is getting clear as mud! ;)
Thank you for your help Greg.
Walter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php