Re: [PHP] Re: Memory investigation

[email protected]
Newsgroups php.general
Message-ID <[email protected]>
function check_memory_usage(&$memory)
{
     $memory[] = memory_get_usage();
     return $memory;
}

something like this?
you can put it wherever you like and returns an array for further 
processing. You could optionally add a second argument to set the index 
to a name and check if the name exists to add 1 to the end of the name 
so your indexes stay maintained.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.