Edit report at https://bugs.php.net/bug.php?id=62281&edit=1
ID: 62281 Updated by: larue...@php.net Reported by: michael dot stering at gmx dot net Summary: crash when method in extending class has different params than parent class -Status: Open +Status: Closed Type: Bug Package: Class/Object related Operating System: Windows 7 Ultimate PHP Version: 5.4.3 -Assigned To: +Assigned To: laruence Block user comment: N Private report: N New Comment: closed Previous Comments: ------------------------------------------------------------------------ [2012-06-10 08:08:35] michael dot stering at gmx dot net Tried the r324251 for windows; works. ------------------------------------------------------------------------ [2012-06-10 02:36:09] larue...@php.net Please try using this snapshot: http://snaps.php.net/php-trunk-latest.tar.gz For Windows: http://windows.php.net/snapshots/ a knew issue has been fixed ------------------------------------------------------------------------ [2012-06-09 19:22:50] michael dot stering at gmx dot net Description: ------------ When a method of a class which extends another class has the same name, but a different amount of parameters than the parent class, php seems to crash. Every browser tells that the website is not reachable. Wasn't able to get useful info from the logfiles. Test script: --------------- class basicUser { private function methodA() { echo "hello"; } } ... class extendedUser extends basicUser { private function methodA($var1) { echo "bye!"; } } Expected result: ---------------- overloading methods with the same name, but different params shouldn't be that kind of problem! ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62281&edit=1