Re: [PHP] static functions w/ PHP 4?

2005-12-09 Thread Robert Cummings
On Fri, 2005-12-09 at 14:48, Michael B Allen wrote: > Is there any way to have static functions and members of an Object w/ PHP > 4.3? Like: > > class Auth { > static var error; > > static function authenticate() { > ... > } > } > > Auth::authenticate(); > > ?

[PHP] static functions w/ PHP 4?

2005-12-09 Thread Michael B Allen
Is there any way to have static functions and members of an Object w/ PHP 4.3? Like: class Auth { static var error; static function authenticate() { ... } } Auth::authenticate(); ? The documentation suggests this is possible but I can't seem to make it work.