svn: /phpdoc/en/trunk/reference/info/functions/ memory-get-usage.xml

From: Date: Thu, 26 Nov 2015 18:15:31 +0000
Subject: svn: /phpdoc/en/trunk/reference/info/functions/ memory-get-usage.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13863@lists.php.net to get a copy of this message
krakjoe Thu, 26 Nov 2015 18:15:31 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=338184 Log: fix pernicious wording in memory_get_usage documentation, leading people to believe that we trace persistently or otherwise allocated memory Changed paths: U phpdoc/en/trunk/reference/info/functions/memory-get-usage.xml Modified: phpdoc/en/trunk/reference/info/functions/memory-get-usage.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/memory-get-usage.xml 2015-11-26 15:10:28 UTC (rev 338183) +++ phpdoc/en/trunk/reference/info/functions/memory-get-usage.xml 2015-11-26 18:15:31 UTC (rev 338184) @@ -26,14 +26,17 @@ <term><parameter>real_usage</parameter></term> <listitem> <para> - Set this to &true; to get the real size of memory allocated from - system. If not set or &false; only the memory used by - <literal>emalloc()</literal> is reported. + Set this to &true; to get total memory allocated from + system, including unused pages. + If not set or &false; only the used memory is reported. </para> </listitem> </varlistentry> </variablelist> </para> + <note> + <para>PHP does not track memory that is not allocated by <literal>emalloc()</literal></para> + </note> </refsect1> <refsect1 role="returnvalues">

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