ID: 38148 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Scripting Engine problem PHP Version: 6CVS-2006-07-19 (CVS) New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is PHP 5 now. Previous Comments: ------------------------------------------------------------------------ [2006-07-19 18:12:13] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38148&edit=1
