diff --git a/reference/info/functions/memory-get-usage.xml b/reference/info/functions/memory-get-usage.xml index 1d2e401efaf6..0646233df976 100644 --- a/reference/info/functions/memory-get-usage.xml +++ b/reference/info/functions/memory-get-usage.xml @@ -3,9 +3,9 @@ memory_get_usage - Returns the amount of memory allocated to PHP + Returns the amount of memory consumed by PHP script or allocated by system to PHP process - + &reftitle.description; @@ -13,8 +13,8 @@ boolreal_usage&false; - Returns the amount of memory, in bytes, that's currently being - allocated to your PHP script. + Returns the amount of memory, in bytes, that the PHP script is + currently using. @@ -27,15 +27,17 @@ 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. + the system to the PHP process, including unused memory pages. + If not set or &false; only the memory used by PHP script is reported. - PHP does not track memory that is not allocated by emalloc() + + PHP tracks only memory that is allocated by the internal function emalloc(). + @@ -54,18 +56,19 @@ ]]>