static functions w/ PHP 4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux