PHP funkce memory_get_usage()
Dostupnost ve verzích: PHP 4.3.2
Returns the amount of memory allocated to 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 amount in bytes.