diff options
| author | Dmitry Stogov <dmitry@php.net> | 2006-12-20 10:49:33 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2006-12-20 10:49:33 +0000 |
| commit | 53b088e60c47655dccbc3a73daedb25ade2509ae (patch) | |
| tree | 76a7146c63212d058436d38564c7adc1fe64035e /ext/standard/php_var.h | |
| parent | 1e19ee87853fe519cee671038bd5eba0fe9cd8be (diff) | |
| download | php-git-53b088e60c47655dccbc3a73daedb25ade2509ae.tar.gz | |
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M.
Diffstat (limited to 'ext/standard/php_var.h')
| -rw-r--r-- | ext/standard/php_var.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h index 42f1be5c21..dc699bdb9d 100644 --- a/ext/standard/php_var.h +++ b/ext/standard/php_var.h @@ -28,10 +28,8 @@ PHP_FUNCTION(var_export); PHP_FUNCTION(debug_zval_dump); 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); PHPAPI void php_var_export(zval **struc, int level TSRMLS_DC); |
