Re: Re: Push Request #21
| From: | Stas Malyshev | Date: | Thu, 12 Apr 2012 02:01:41 +0000 |
| Subject: | Re: Re: Push Request #21 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-59775@lists.php.net to get a copy of this message | ||
Hi!
> There really doesn't seem to be much interest in this proposed patch. Should I continue
> development efforts on closing this feature request?
Can't say anything here - I don't use these APIs personally, but maybe
other people need them. No idea :)
> I do also have a few questions regarding standards adherence, and memory leak methods of
> detection.
>
> I ask about the memory leak detection as passing test scripts through valgrind only led me to
> find leaks in the openssl_pkey_new() function.
There's two levels of leak detection - internal memory management &
valgrind. How to work with them:
1. Internal. Compile php with --enable-debug and run your tests. Leaks
will be reported by php.
2. External. Set USE_ZEND_ALLOC environment variable to 0. Set
ZEND_DONT_UNLOAD_MODULES to 1. Run it under valgrind, see what it reports.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227