#38497 [NEW]: Overloading does not work with extended classes (__call() never called)
From: alessio dot bazzica at gmail dot com
Operating system: Mac OS X
PHP version: 5.1.5
PHP Bug Type: Feature/Change Request
Bug description: Overloading does not work with extended classes (__call() never called)
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 bug report at http://bugs.php.net/?id=38497&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38497&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38497&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38497&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38497&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38497&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38497&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38497&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38497&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38497&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38497&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38497&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38497&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38497&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38497&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38497&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38497&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38497&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38497&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38497&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38497&r=mysqlcfg
Thread (7 messages)
- alessio dot bazzica at gmail dot com