memory_get_peak_usage
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
memory_get_peak_usage — Returns the peak of memory allocated by PHP
Description
Returns the peak of memory, in bytes, that's been allocated to your PHP script.
Parameters
Return Values
Returns the memory peak in bytes.
See Also
- memory_get_usage() - Returns the amount of memory allocated to PHP
- memory_reset_peak_usage() - Reset the peak memory usage
- memory_limit
↑ and ↓ to navigate • Enter to select • Esc to close • / to open