Do you know if there's a way to log how much memory is used in PHP scripts?.
I would like a log that tells me which objects are using more memory, which functions I need to improve, etc.
It would be something like memory_get_usage but for each line of code.
echo "MEMORY USAGE: ". memory_get_usage()."<br>";which is a start."memory_get_usage() for individual items php"where you'll find more, I am sure.