Re: Referencing constants in extension code
| From: | Antony Dovgal | Date: | Fri, 18 Jan 2008 07:41:01 +0000 |
| Subject: | Re: Referencing constants in extension code | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34827@lists.php.net to get a copy of this message | ||
On 18.01.2008 10:33, Michael B Allen wrote:
>> Because you have to copy something that is going to be freed by PHP.
>> That's how it works & worked for ages - you don't have to free the
>> strings you get from zend_parse_parameters() because PHP does it for you.
>
> I newer versions of zend engine are more aggressive about collecting
> that memory and now it's caught up with me.
No, it always worked this way.
--
Wbr,
Antony Dovgal