This doesn't break any BC.
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)
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);
/* }}} */
#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));
}
/* }}} */