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 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php