RE: FW: [PHP-DEV] memory corruptions in APC env when using references or extract(..., EXTR_REFS) [was re: references / zend_assign_to_variable /
IS_CONST operands in APC]
| From: | Kannan Muthukkaruppan | Date: | Fri, 04 Apr 2008 00:05:26 +0000 |
| Subject: | RE: FW: [PHP-DEV] memory corruptions in APC env when using references or extract(..., EXTR_REFS) [was re: references / zend_assign_to_variable / IS_CONST operands in APC] |
||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36790@lists.php.net to get a copy of this message | ||
We are on 5.2.5.
regards
Kannan
-----Original Message-----
From: Stanislav Malyshev [mailto:stas@zend.com]
Sent: Thursday, April 03, 2008 4:50 PM
To: Kannan Muthukkaruppan
Cc: internals@lists.php.net
Subject: Re: FW: [PHP-DEV] memory corruptions in APC env when using
references or extract(..., EXTR_REFS) [was re: references /
zend_assign_to_variable / IS_CONST operands in APC]
Hi!
> Example #1:
> <?php
>
> $x = 5;
> $y = &$x;
>
> $y = null; <---
IIRC the issue with refcounts there was fixed some time ago. Are you
sure this still happens in 5.2 or 5.3 code?
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com