diff options
| author | Hannes Magnusson <bjori@php.net> | 2006-07-25 16:41:04 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2006-07-25 16:41:04 +0000 |
| commit | d5ec3193679a0c25e338c42b4143f76007f9cec7 (patch) | |
| tree | f56ae6049e90b59aaa667e08a50c4df7c4bde712 /ext/standard/var.c | |
| parent | 9cd119859dc008da8f9f6bf2f3b402b6526441a8 (diff) | |
| download | php-git-d5ec3193679a0c25e338c42b4143f76007f9cec7.tar.gz | |
MFH: Update protos & arginfo for memory_get_usage() & memory_get_peak_usage()
Diffstat (limited to 'ext/standard/var.c')
| -rw-r--r-- | ext/standard/var.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/var.c b/ext/standard/var.c index bfc61a0ea4..1292d6b536 100644 --- a/ext/standard/var.c +++ b/ext/standard/var.c @@ -909,7 +909,7 @@ PHP_FUNCTION(unserialize) /* }}} */ #if MEMORY_LIMIT -/* {{{ proto int memory_get_usage() +/* {{{ proto int memory_get_usage([real_usage]) Returns the allocated by PHP memory */ PHP_FUNCTION(memory_get_usage) { zend_bool real_usage = 0; @@ -921,7 +921,7 @@ PHP_FUNCTION(memory_get_usage) { RETURN_LONG(zend_memory_usage(real_usage TSRMLS_CC)); } /* }}} */ -/* {{{ proto int memory_get_peak_usage() +/* {{{ proto int memory_get_peak_usage([real_usage]) Returns the peak allocated by PHP memory */ PHP_FUNCTION(memory_get_peak_usage) { zend_bool real_usage = 0; |
