svn: /phpdoc/en/trunk/internals2/memory/ management.xml

From: Date: Tue, 27 Oct 2009 14:42:50 +0000
Subject: svn: /phpdoc/en/trunk/internals2/memory/ management.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5226@lists.php.net to get a copy of this message
johannes Tue, 27 Oct 2009 14:42:50 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289989 Log: Some more minor tweaks Changed paths: U phpdoc/en/trunk/internals2/memory/management.xml Modified: phpdoc/en/trunk/internals2/memory/management.xml =================================================================== --- phpdoc/en/trunk/internals2/memory/management.xml 2009-10-27 14:35:52 UTC (rev 289988) +++ phpdoc/en/trunk/internals2/memory/management.xml 2009-10-27 14:42:50 UTC (rev 289989) @@ -116,11 +116,11 @@ <para> As said above it is an essential part of the memory management to avoid - having memory leaks and therefore free all memory you've allocated. As a - safety net the Zend Engine will free all memory, which had been allocated - using above mentioned APIs at the end of a request. If PHP was built using - the <code>--enable-debug</code> configuration option this will lead to a - warning. + having memory leaks and therefore free all memory you've allocated as soon + as possible. As a safety net the Zend Engine will free all memory, which had + been allocated using above mentioned APIs at the end of a request. If PHP + was built using the <code>--enable-debug</code> configuration option this + will lead to a warning. </para> <example xml:id="internals2.memory.management.example.leak"> @@ -143,7 +143,7 @@ <screen> <![CDATA[ [Thu Oct 22 02:14:57 2009] Script: '-' -/home/hohannes/src/PHP_5_3/Zend/zend_builtin_functions.c(1377) : Freeing 0x088888D4 (3 bytes), script=- +/home/johannes/src/PHP_5_3/Zend/zend_builtin_functions.c(1377) : Freeing 0x088888D4 (3 bytes), script=- === Total 1 memory leaks detected === ]]> </screen> @@ -151,9 +151,9 @@ <note> <simpara> - When dealing with PHP variables you have to make sure the variable is - allocated using emalloc and take care of the reference count. Details can - be found in <xref linkend="internals2.variables"/>. + When dealing with PHP variables you have to make sure the variable's + memory is allocated using emalloc and take care of the reference count. + Details can be found in <xref linkend="internals2.variables"/>. </simpara> </note>

« previous php.doc.cvs (#5226) next »