#38497 [Opn->Fbk]: Overloading does not work with extended classes (__call() never called)
| From: | tony2001@php.net | Date: | Mon, 21 Aug 2006 08:23:57 +0000 |
| Subject: | #38497 [Opn->Fbk]: Overloading does not work with extended classes (__call() never called) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101030@lists.php.net to get a copy of this message | ||
ID: 38497
Updated by: tony2001@php.net
Reported By: alessio dot bazzica at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Feature/Change Request
Operating System: Mac OS X
PHP Version: 5.1.5
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2006-08-18 11:25:35] alessio dot bazzica at gmail dot com
Link does not work; cut and paste URL to download zip file containing
test.php (http://webapp.altervista.org/php_ovrldext_test.zip).
------------------------------------------------------------------------
[2006-08-18 11:18:59] alessio dot bazzica at gmail dot com
Description:
------------
An istance of an extended class with __call() function defined
never calls function members by __call() (view example). I
don't know if this is regular or if this could be a bug.
I have this problem both on a 5.0.4 and on a 5.1.4 on Mac OS X
(5.1.4 is most recent version for OS X).
Reproduce code:
---------------
http://webapp.altervista.org/php_ovrldext_test.zip
Expected result:
----------------
All test should pass.
Actual result:
--------------
Calling an overloaded method for an extended class php run un-
overloaded function defined in parent class (second test
fails).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38497&edit=1