[php 4.3.5] Determining Memory Usage by Variable

php.internals

Bruce Bailey

22 years ago
Is there a way to determine how much memory a particular variable is using (either in php or in an extension)? It might be nice to check all variables in the php process (perhaps scanning the interpreter's symbol table). Thanks in advance, Bruce _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

Sterling Hughes

22 years ago
would be a good addition to xdebug, it couldn't be variable based, but it could be data based. On Thu, 22 Jul 2004 08:55:00 -0700, Bruce Bailey <bruce1828@hotmail.com> wrote:

Derick Rethans

22 years ago
On Thu, 22 Jul 2004, Sterling Hughes wrote:
> would be a good addition to xdebug, it couldn't be variable based, but > it could be data based.
Yup, this is on my todo list. Derick