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: | Andi Gutmans | Date: | Sat, 05 Apr 2008 02:55:52 +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 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36811@lists.php.net to get a copy of this message | ||
Test the latest snapshot. We actually fixed some bugs just recently
which were manipulating reference counts when they shouldn't have.
Andi
> -----Original Message-----
> From: Kannan Muthukkaruppan [mailto:Kannan@facebook.com]
> Sent: Thursday, April 03, 2008 5:05 PM
> To: Stas Malyshev
> 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]
>
>
> 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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php