Writing bugtest about mem leak
| From: | Olivier Doucet | Date: | Thu, 12 Feb 2009 17:18:45 +0000 |
| Subject: | Writing bugtest about mem leak | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-64652@lists.php.net to get a copy of this message | ||
Hello,
I would like to write a php test on case where I encountered a memory leak.
I don't know how to write a specific test where code is OK but memory leak
happened.
I watched another php test (/Zend/tests/bug26077.phpt), but I don't know how
the test can see whether there is a memleak or not ...
Is there a specific way to test for a memleak ?
Thank you
Olivier