PHP funkce memory_get_peak_usage()
Dostupnost ve verzích: PHP 5.2.0
Returns the peak of memory allocated by PHP
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$real_usage |
bool |
null | Set this to true to get the real size of memory allocated from system. If not set or false only the memory used by emalloc() is reported. |
Návratové hodnoty
int
the memory peak in bytes.