|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-19 19:28 UTC] helly@php.net
[2006-07-19 20:00 UTC] kennyt@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 22:00:02 2025 UTC |
Description: ------------ the new "fatal: decl. of Child::foo() is incompatible with Parent::foo()" errors cause lots of applications to break. Reproduce code: --------------- <?php ini_set('display_errors', 1); class Paren { function foo() {} } class Chil extends Paren { function foo($f, $x, $y) {} } Actual result: -------------- Fatal error: Declaration of Chil::foo() must be compatible with that of Paren::foo() in /.../php5/test.php on line 10