summaryrefslogtreecommitdiff
path: root/ext/standard/php_var.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2003-01-14 18:26:47 +0000
committerAndrey Hristov <andrey@php.net>2003-01-14 18:26:47 +0000
commit7866f02260bcab3c25ba76a0c7fd7af5cd6d5c35 (patch)
tree603190d96c608eed425fd76e906dffd5f336df23 /ext/standard/php_var.h
parent62f7e2714130efa8390128804166f3d482ced79b (diff)
downloadphp-git-7866f02260bcab3c25ba76a0c7fd7af5cd6d5c35.tar.gz
added function get_memory_usage(). available only when PHP is compiled
with --enable-memory-limit
Diffstat (limited to 'ext/standard/php_var.h')
-rw-r--r--ext/standard/php_var.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h
index 796e1a19e3..f399a236bf 100644
--- a/ext/standard/php_var.h
+++ b/ext/standard/php_var.h
@@ -28,6 +28,9 @@ PHP_FUNCTION(var_export);
PHP_FUNCTION(debug_zval_dump);
PHP_FUNCTION(serialize);
PHP_FUNCTION(unserialize);
+#if MEMORY_LIMIT
+PHP_FUNCTION(get_memory_usage);
+#endif
void php_var_dump(zval **struc, int level TSRMLS_DC);
void php_var_export(zval **struc, int level TSRMLS_DC);