#38497 [Opn]: Overloading does not work with extended classes (__call() never called)

From: Date: Fri, 18 Aug 2006 11:25:35 +0000
Subject: #38497 [Opn]: Overloading does not work with extended classes (__call() never called)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100943@lists.php.net to get a copy of this message
ID: 38497 User updated by: alessio dot bazzica at gmail dot com Reported By: alessio dot bazzica at gmail dot com Status: Open Bug Type: Feature/Change Request Operating System: Mac OS X PHP Version: 5.1.5 New Comment: Link does not work; cut and paste URL to download zip file containing test.php (http://webapp.altervista.org/php_ovrldext_test.zip). Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#100943) next »