Date: 03/09/01
- Next message: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Previous message: Greg Sohl: "[PHP-DEV] Re: PHP 4.0 Bug #9500 Updated: mssql_query returns false for INSERT & UPDATE queries"
- In reply to: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Next in thread: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Reply: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Andi
At 11:02 AM 3/9/2001 -0600, Andrei Zmievski wrote:
>On Fri, 09 Mar 2001, Andi Gutmans wrote:
> > We need to think of static class variables. I don't think it's very
> easy to
> > do this in a way which wouldn't cause a general performance loss but I'll
> > put on my thinking cap.
>
>Ok, I was gonna try to hack it in myself, but you are obviously more
>qualified to do it.
>
>-Andrei
>
>"Claiming Java is easier than C++ is like
> saying that K2 is shorter than Everest."
> -- Larry O'Brien (editor, Software Development)
-- 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: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Previous message: Greg Sohl: "[PHP-DEV] Re: PHP 4.0 Bug #9500 Updated: mssql_query returns false for INSERT & UPDATE queries"
- In reply to: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Next in thread: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Reply: Andrei Zmievski: "[PHP-DEV] Re: Static vars in methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

