PHP 5.1 CVS Interface Question

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

 



I have an interface:

  interface ISingleton
  {

    static function getInstance();

  }

that works in 5.0.3 but in 5.1 CVS I get the following error:

Fatal error: Access type for interface method
ISingleton::getInstance() must be omitted ...

If I take out the static keyword then it doesnt match the classes that
implement it.

Is this a bug, or a new intended behavior?

Gavin

-- 
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