Date: 03/09/01
- Next message: alt <email protected>: "[PHP-DEV] PHP 4.0 Bug #9658: saps Servlet reproducible crash."
- Previous message: Andi Gutmans: "[PHP-DEV] Re: Static vars in methods"
- In reply to: Andi Gutmans: "[PHP-DEV] Re: Static vars in methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: alt <email protected>: "[PHP-DEV] PHP 4.0 Bug #9658: saps Servlet reproducible crash."
- Previous message: Andi Gutmans: "[PHP-DEV] Re: Static vars in methods"
- In reply to: Andi Gutmans: "[PHP-DEV] Re: Static vars in methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

