Re: com php-src: Add ini setting intl.explicit_cleanup: ext/intl/php_intl.c
| From: | Hannes Magnusson | Date: | Mon, 23 Jul 2012 15:34:44 +0000 |
| Subject: | Re: com php-src: Add ini setting intl.explicit_cleanup: ext/intl/php_intl.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-69670@lists.php.net to get a copy of this message | ||
On Mon, Jul 23, 2012 at 4:32 PM, Gustavo Lopes <glopes@nebm.ist.utl.pt> wrote:
> On Mon, 23 Jul 2012 16:15:42 +0100, Hannes Magnusson wrote:
>>>
>>>
>>> Link:
>>>
>>> http://git.php.net/?p=php-src.git;a=commitdiff;h=0dfcc3e798cd54714f792bf7507c37b96146ee1b
>>>
>>> Log:
>>> Add ini setting intl.explicit_cleanup
>>>
>>> This is to help with looking for leaks. If set to true, this ini
>>> setting forces a call to u_cleanup() on module shutdown.
>>>
>>
>> hhmmmmhh.
>> What is the usecase for that?
>>
>
> Detecting leaks with valgrind. Otherwise, one gets lots of false positives.
>
So its a developers feature.. don't we usually use environment
variables for this?
I don't think a ini setting for it is a good idea.
-Hannes