#39254 [Com]: Refcount error with static variables and object references (PHP4 only)
| From: | helping at hotmail dot com | Date: | Tue, 19 Jun 2007 23:51:29 +0000 |
| Subject: | #39254 [Com]: Refcount error with static variables and object references (PHP4 only) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113946@lists.php.net to get a copy of this message | ||
ID: 39254
Comment by: helping at hotmail dot com
Reported By: benoit dot heinrich at swisscom dot com
Status: Open
Bug Type: Class/Object related
Operating System: Linux
PHP Version: 4.4.4
New Comment:
not sure if you still need it, there is a workaround here:
http://www.phphacks.com/content/view/40/33/
Previous Comments:
------------------------------------------------------------------------
[2006-10-25 22:32:10] judas dot iscariote at gmail dot com
benoit: is very likely you are on your own now, PHP5 is out since years
and certainly solve your problem, PHP4 active development has ceased
permanently, it is only open to security fixes or severe regresions that
affects large part of the user base.
------------------------------------------------------------------------
[2006-10-25 14:49:05] tony2001@php.net
I really doubt there will be any active development in 4.x branch, for
we're mostly working on 5.x and 6.x at the moment.
------------------------------------------------------------------------
[2006-10-25 14:42:31] benoit dot heinrich at swisscom dot com
I tried to find a workaround, and when I tried to use the 'global'
keyword instead of the 'static' then it gives exactly the same problem.
I'm still searching for a workaround but for now I have nothing.
Cheers,
/Benoit
------------------------------------------------------------------------
[2006-10-25 14:11:12] benoit dot heinrich at swisscom dot com
I'm sorry but I'm using php 4.4 and I can't use PHP 5 for a lot of
reasons.
Do you have any fix for php 4.4 ?
Cheers,
/Benoit
------------------------------------------------------------------------
[2006-10-25 14:01:12] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
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/39254
--
Edit this bug report at http://bugs.php.net/?id=39254&edit=1