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();
>
> ?
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.
2 matches
Mail list logo