From 56db7ad1df37d30a8c2289565e38f6bd03011064 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sat, 16 Apr 2011 13:57:07 +0000 Subject: [PATCH] Clarify report_memleak ini option (patch by Roel Vanhout ) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310262 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/errorfunc/ini.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index b4ea5eade6..fb75a63b38 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -1,6 +1,6 @@ -
+
&reftitle.runtime; &extension.runtime; @@ -309,10 +309,14 @@ - If this parameter is set to Off, then memory leaks will not be shown (on - stdout or in the log). This has only effect in a debug compile, and if - error_reporting includes - E_WARNING in the allowed list + If this parameter is set to On (the default), this parameter will show a + report of memory leaks detected by the Zend memory manager. This report + will be send to stderr on Posix platforms. On Windows, it will be send + to the debugger using OutputDebugString(), and can be viewed with tools + like DbgView. + This parameter only has effect in a debug build, and if + error_reporting includes E_WARNING in the allowed + list.