|
PHP5中文手册
memory_get_usage(PHP 4 >= 4.3.2, PHP 5) memory_get_usage — Returns the amount of memory allocated to PHP 说明
int memory_get_usage
([ bool $real_usage
] )
Returns the amount of memory, in bytes, that's currently being allocated to your PHP script. 参数
返回值Returns the memory amount in bytes. 更新日志
范例
Example#1 A memory_get_usage() example
<?php |