diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-05-30 14:51:20 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-05-30 14:51:20 +0000 |
commit | 5186ee9c5987425a99ae7f79ee13a3a9c6af87b1 (patch) | |
tree | 23cfb2693a9d91c130f588d109dedaac7f0fe463 /ext/standard/php_var.h | |
parent | 61fc4243212d9471eb5f3456ffacfb0f5ff58e7b (diff) | |
download | php-git-5186ee9c5987425a99ae7f79ee13a3a9c6af87b1.tar.gz |
Added memory_get_peak_usage() function for retrieving peak memory usage of
a PHP script.
Diffstat (limited to 'ext/standard/php_var.h')
-rw-r--r-- | ext/standard/php_var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h index 74f9bcb3d8..42f1be5c21 100644 --- a/ext/standard/php_var.h +++ b/ext/standard/php_var.h @@ -30,6 +30,7 @@ PHP_FUNCTION(serialize); PHP_FUNCTION(unserialize); #if MEMORY_LIMIT PHP_FUNCTION(memory_get_usage); +PHP_FUNCTION(memory_get_peak_usage); #endif PHPAPI void php_var_dump(zval **struc, int level TSRMLS_DC); |