Req #25278 [Com]: Get variable memory size function
| From: | funkyphil27 at hotmail dot com | Date: | Wed, 07 Jul 2010 15:24:45 +0000 |
| Subject: | Req #25278 [Com]: Get variable memory size function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152182@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=25278&edit=1
ID: 25278
Comment by: funkyphil27 at hotmail dot com
Reported by: nathan dot cassano at billingconcepts dot com
Summary: Get variable memory size function
Status: Closed
Type: Feature/Change Request
Package: Feature/Change Request
Operating System: Linux 2.2
PHP Version: 4.3.3
New Comment:
@ derick@php.net
Memory_get_usage seems to give the entire memory used but not for a
specific variable. Not quite what Nathan asked for.
Previous Comments:
------------------------------------------------------------------------
[2003-08-27 15:32:55] derick@php.net
See http://www.php.net/memory_get_usage ;)
Derick
------------------------------------------------------------------------
[2003-08-27 13:36:25] nathan dot cassano at billingconcepts dot com
Description:
------------
I'm per posing that a function be created to return the size of a
variable in bytes, for the purpose memory management tracking.
Possible name for this function:
size()
memsize()
bytesize()
Comments welcome.
Nathan
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=25278&edit=1