array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.memory-get-peak-usage.php', 1 => 'memory_get_peak_usage', ), 'up' => array ( 0 => 'ref.info.php', 1 => 'PHP-Optionen-/-Informationen-Funktionen', ), 'prev' => array ( 0 => 'function.ini-set.php', 1 => 'ini_set', ), 'next' => array ( 0 => 'function.memory-get-usage.php', 1 => 'memory_get_usage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/info/functions/memory-get-peak-usage.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
memory_get_peak_usage — Returns the peak of memory allocated by PHP
Returns the peak of memory, in bytes, that's been allocated to your PHP script.
Returns the memory peak in bytes.