memory_get_usage
Opis
int memory_get_usage ( [bool real_usage] )Returns the amount of memory, in bytes, that's currently being allocated to your PHP script.
memory_get_usage() will only be defined if your PHP is compiled with the --enable-memory-limit configuration option.
Parametry
real_usage
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.
Poprzedni | Spis treści | Następny |
memory_get_peak_usage | Początek rozdziału |