Re: Static vars in methods
| From: | Andrei Zmievski | Date: | Fri, 09 Mar 2001 17:20:11 +0000 |
| Subject: | Re: Static vars in methods | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-48425@lists.php.net to get a copy of this message | ||
On Fri, 09 Mar 2001, Andi Gutmans wrote:
> By the way, if you need something that works you can just add the following
> line in your constructor:
> $this->mystatic =& $GLOBALS["__myclass_mystatic"];
>
> Then use $this->mystatic in all of your methods. It's not built-in but it
> should work pretty nicely.
Yes, it's a nice workaround.
-Andrei
Programming X-Windows is like trying to find
the square root of pi using roman numerals.
- Unknown