Renamed get_memory_usage() to memory_get_usage() (per Andi's advice)

This doesn't break any BC.
This commit is contained in:
Andrey Hristov 2003-01-18 15:03:01 +00:00
parent 7002a39f97
commit 309ef518fc
3 changed files with 4 additions and 4 deletions

View File

@ -548,7 +548,7 @@ function_entry basic_functions[] = {
PHP_FE(debug_zval_dump, NULL)
PHP_FE(print_r, NULL)
#if MEMORY_LIMIT
PHP_FE(get_memory_usage, NULL)
PHP_FE(memory_get_usage, NULL)
#endif
PHP_FE(register_shutdown_function, NULL)

View File

@ -29,7 +29,7 @@ PHP_FUNCTION(debug_zval_dump);
PHP_FUNCTION(serialize);
PHP_FUNCTION(unserialize);
#if MEMORY_LIMIT
PHP_FUNCTION(get_memory_usage);
PHP_FUNCTION(memory_get_usage);
#endif
void php_var_dump(zval **struc, int level TSRMLS_DC);

View File

@ -678,9 +678,9 @@ PHP_FUNCTION(unserialize)
/* }}} */
#if MEMORY_LIMIT
/* {{{ proto int get_memory_usage()
/* {{{ proto int memory_get_usage()
Returns the allocated by PHP memory */
PHP_FUNCTION(get_memory_usage) {
PHP_FUNCTION(memory_get_usage) {
RETURN_LONG(AG(allocated_memory));
}
/* }}} */