Finding the sizeof a variable....

From: Date: Wed, 02 Jun 2004 20:18:07 +0000
Subject: Finding the sizeof a variable....
Groups: php.general 
Request: Send a blank email to php-general+get-187473@lists.php.net to get a copy of this message
Hi, I'm wondering if there's something similar to the C sizeof operator in PHP? I would like to find out how much space in memory a variable is actually using (and possibly adjust the max memory per script accordingly). No, sizeof() http://us3.php.net/sizeof is not what I want :-( Thanks! Matt -- Matt Blasinski (mbv) Software Engineer Internet Infrastructure Applications Technology Division of Information Technology 3121 Computer Science and Statistics 1210 West Dayton Street Madison WI 53706 Work (608) 262-2286 Personal Cell (608) 347-6940 <?php echo "You can have it fast, cheap, or working. Choose two."; ?>

« previous php.general (#187473) next »