PHP 5.1 CVS Interface Question

From: Date: Tue, 01 Mar 2005 21:43:06 +0000
Subject: PHP 5.1 CVS Interface Question
Groups: php.general 
Request: Send a blank email to php-general+get-209752@lists.php.net to get a copy of this message
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

« previous php.general (#209752) next »