Re: com php-src: Add ini setting intl.explicit_cleanup: ext/intl/php_intl.c

From: Date: Mon, 23 Jul 2012 16:26:36 +0000
Subject: Re: com php-src: Add ini setting intl.explicit_cleanup: ext/intl/php_intl.c
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-69671@lists.php.net to get a copy of this message
Em Mon, 23 Jul 2012 17:34:44 +0200, Hannes Magnusson <hannes.magnusson@gmail.com> escreveu:
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.
Honestly, that didn't occur to me. I'll change it to an environment variable. -- Gustavo Lopes

« previous php.cvs (#69671) next »