#31214 [Opn->Fbk]: overloading using __call() initially OK, fails on any subsequent method call

From: Date: Tue, 21 Dec 2004 17:05:50 +0000
Subject: #31214 [Opn->Fbk]: overloading using __call() initially OK, fails on any subsequent method call
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70860@lists.php.net to get a copy of this message
ID: 31214 Updated by: iliaa@php.net Reported By: ebypdx at comcast dot net -Status: Open +Status: Feedback Bug Type: Class/Object related Operating System: Solaris 5.8 PHP Version: 4.3.10 New Comment: leave bug @ feedback until further information is known. Previous Comments: ------------------------------------------------------------------------ [2004-12-21 17:33:51] ebypdx at comcast dot net thanks very much for the feedback, if our sysadmins have time to apply that patch i'll post back the results. for now we've rolled back a version. ------------------------------------------------------------------------ [2004-12-21 03:58:03] iliaa@php.net Try the patch listed in bug report #31106 ------------------------------------------------------------------------ [2004-12-21 03:04:38] alan_k@php.net in Zend/zend_execute.c about line 997: remove this line PZVAL_UNLOCK(T->EA.data.overloaded_element.object); about line 1579: remove this line EX(object).ptr->refcount++; you have to copy & paste the whole link for it to work / rather than just pressing on it. ------------------------------------------------------------------------ [2004-12-21 02:45:16] ebypdx at comcast dot net i believe we aren't using any of those extensions. i will double-check with the sysadmin team. can you give me a tip on how to revert that change? when i follow the link to cvsweb from report 31106 i get a "malformed query" page. ------------------------------------------------------------------------ [2004-12-21 02:35:50] alan_k@php.net a) make sure you are not using any Zend extension eg. Optimizer/xdebug/apc etc. have a look at this report http://bugs.php.net/?id=31106 see if reverting the mentioned change to zend_execute fixes this. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31214 -- Edit this bug report at http://bugs.php.net/?id=31214&edit=1

« previous php.bugs (#70860) next »