A method to determine total number of objects in memory for PHP?
<p>I want to know the number of objects that are currently in memory. Ideally I'd be able to call something like memory_get_peak_usage to get the peak number of objects in memory as well. Any ideas?</p>
