Memory use

From: Date: Thu, 24 Mar 2005 06:31:09 +0000
Subject: Memory use
Groups: php.general 
Request: Send a blank email to php-general+get-211435@lists.php.net to get a copy of this message
Greetings, I'm trying to help a C programmer understand and use PHP for web development. So far all the similarities between C++ and PHP are making the process rather speedy. He asked what seemed like a very simple question, but I couldn't find the answer. The questions is how can you determine how much memory a variable/object/struct/etc are using? For instance: $myObject = new myClass(); $myObject->performAction_and_holdResult(); At this point, how can you tell how much memory $myObject is using? Thanks!

« previous php.general (#211435) next »