A while ago, Philip Olson wrote:
As of 4.3.2, if you compile PHP with --enable-memory-limit you may use memory_get_usage(). This is documented and will show up when the next PHP manual is built.
This function is not documented in the PHP manual, but is in the zend copy:
http://www.zend.com/manual/function.memory-get-usage.php
Ah, that's the one I was looking for. Are there any downsides to compiling PHP with --enable-memory-limit or is that something that's normally done?
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php