title: Optimize PHP scripts
body: <p>Do you know if there's a way to log how much memory is used in PHP scripts?.</p>
  
  <p>I would like a log that tells me which objects are using more memory, which functions I need to improve, etc.</p>
  
  <p>It would be something like memory_get_usage but for each line of code.</p>