cvs: php-src /tests/classes inheritance_003.phpt inheritance_004.phpt

From: Date: Tue, 30 May 2006 23:11:14 +0000
Subject: cvs: php-src /tests/classes inheritance_003.phpt inheritance_004.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38524@lists.php.net to get a copy of this message
helly Tue May 30 23:11:14 2006 UTC Added files: /php-src/tests/classes inheritance_003.phpt inheritance_004.phpt Log: - Add new tests http://cvs.php.net/viewcvs.cgi/php-src/tests/classes/inheritance_003.phpt?view=markup&rev=1.1 Index: php-src/tests/classes/inheritance_003.phpt +++ php-src/tests/classes/inheritance_003.phpt --TEST-- ZE2 method inheritance without interfaces --FILE-- <?php class A { function f($x) {} } class B extends A { function f() {} } ?> ===DONE=== --EXPECTF-- Fatal error: Declaration of B::f() must be compatible with that of A::f() in %sinheritance_003.php on line %d http://cvs.php.net/viewcvs.cgi/php-src/tests/classes/inheritance_004.phpt?view=markup&rev=1.1 Index: php-src/tests/classes/inheritance_004.phpt +++ php-src/tests/classes/inheritance_004.phpt --TEST-- ZE2 method inheritance without interfaces --FILE-- <?php class A { function f() {} } class B extends A { function f($x) {} } ?> ===DONE=== --EXPECTF-- Fatal error: Declaration of B::f() must be compatible with that of A::f() in %sinheritance_004.php on line %d

« previous php.cvs (#38524) next »