$arr=stats();
print_r($arr);
?>
Typical output for the above example:
[$arr] = Array (
(int) [cron_script] => 0
(int) [http_script] => 1
(int) [heap_free] => 44024
(int) [heap_largest_free] => 37328
(int) [heap_blocks] => 571
(int) [memory_errors] => 0
)
====See Also====
[[freemem()]] - Return free memory space
[[mem_dump()]] - Write the current memory map to /dump.txt
[[mem_usage()]] - Write memory usage to standard output
[[phpinfo()]] - Return information about the system