Bug #62281 [Opn->Csd]: crash when method in extending class has different params than parent class
| From: | laruence@php.net | Date: | Sun, 10 Jun 2012 12:04:32 +0000 |
| Subject: | Bug #62281 [Opn->Csd]: crash when method in extending class has different params than parent class | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171178@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62281&edit=1
ID: 62281
Updated by: laruence@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] laruence@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