static functions w/ PHP 4?
| From: | Michael B Allen | Date: | Fri, 09 Dec 2005 19:48:50 +0000 |
| Subject: | static functions w/ PHP 4? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227222@lists.php.net to get a copy of this message | ||
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. Is this behavior
specific to PHP 5?
Thanks,
Mike