|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-10 02:36 UTC] laruence@php.net
-Status: Open
+Status: Feedback
[2012-06-10 02:36 UTC] laruence@php.net
[2012-06-10 08:08 UTC] michael dot stering at gmx dot net
[2012-06-10 08:08 UTC] michael dot stering at gmx dot net
-Status: Feedback
+Status: Open
[2012-06-10 12:04 UTC] laruence@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: laruence
[2012-06-10 12:04 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 17:00:02 2025 UTC |
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!