cvs: ZendEngine2 /tests abstract-static.phpt

From: Date: Sat, 27 May 2006 01:56:42 +0000
Subject: cvs: ZendEngine2 /tests abstract-static.phpt
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4929@lists.php.net to get a copy of this message
helly Sat May 27 01:56:42 2006 UTC Modified files: /ZendEngine2/tests abstract-static.phpt Log: - There are no abstract static methods in classes, use interfaces http://cvs.php.net/viewcvs.cgi/ZendEngine2/tests/abstract-static.phpt?r1=1.1&r2=1.2&diff_format=u Index: ZendEngine2/tests/abstract-static.phpt diff -u ZendEngine2/tests/abstract-static.phpt:1.1 ZendEngine2/tests/abstract-static.phpt:1.2 --- ZendEngine2/tests/abstract-static.phpt:1.1 Fri May 12 10:02:13 2006 +++ ZendEngine2/tests/abstract-static.phpt Sat May 27 01:56:42 2006 @@ -2,23 +2,12 @@ Test for abstract static classes --FILE-- <?php -abstract class ezcDbHandler extends PDO +abstract class Test { - public function __construct( $dbParams, $dsn ) - { - $user = null; - $pass = null; - $driverOptions = null; - } - abstract static public function getName(); - - static public function hasFeature( $feature ) - { - return false; - } } ?> DONE ---EXPECT-- -DONE +--EXPECTF-- + +Fatal error: Static function Test::getName() cannot be abstract in %sabstract-static.php on line %d

« previous php.zend-engine.cvs (#4929) next »