]> granicus.if.org Git - php/commitdiff
- Rename it again
authorMarcus Boerger <helly@php.net>
Sun, 3 Feb 2008 14:44:30 +0000 (14:44 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 3 Feb 2008 14:44:30 +0000 (14:44 +0000)
[DOC]
- Add config_get_hash()

ext/standard/basic_functions.c
ext/standard/basic_functions.h

index 3afc82c49c19d5a9742525bde55dcb6a5624813b..07d47841cfac1e10b80dd7409d03d91414119ffa 100644 (file)
@@ -944,7 +944,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_parse_ini_file, 0, 0, 1)
 ZEND_END_ARG_INFO()
 
 static
-ZEND_BEGIN_ARG_INFO(arginfo_get_config_hash, 0)
+ZEND_BEGIN_ARG_INFO(arginfo_config_get_hash, 0)
 ZEND_END_ARG_INFO()
 
 static
@@ -3437,7 +3437,7 @@ const zend_function_entry basic_functions[] = { /* {{{ */
        PHP_FE(connection_status,                                                                                               arginfo_connection_status)
        PHP_FE(ignore_user_abort,                                                                                               arginfo_ignore_user_abort)
        PHP_FE(parse_ini_file,                                                                                                  arginfo_parse_ini_file)
-       PHP_FE(get_config_hash,                                                                                                 arginfo_get_config_hash)
+       PHP_FE(config_get_hash,                                                                                                 arginfo_config_get_hash)
        PHP_FE(is_uploaded_file,                                                                                                arginfo_is_uploaded_file)
        PHP_FE(move_uploaded_file,                                                                                              arginfo_move_uploaded_file)
 
@@ -6336,9 +6336,9 @@ PHP_FUNCTION(parse_ini_file)
 }
 /* }}} */
 
-/* {{{ proto array get_config_hash(void)
- */
-PHP_FUNCTION(get_config_hash)
+/* {{{ proto array config_get_hash(void)
Return all configuration valus as an array */
+PHP_FUNCTION(config_get_hash)
 {
        HashTable *hash = php_ini_get_configuration_hash();
 
index 3eb88f6787b107c535885eef6a63e0e48b6c4e78..841c78532df92680361bc448e6e132d8044b28cc 100644 (file)
@@ -125,7 +125,7 @@ PHP_FUNCTION(move_uploaded_file);
 
 /* From the INI parser */
 PHP_FUNCTION(parse_ini_file);
-PHP_FUNCTION(dump_config_hash);
+PHP_FUNCTION(config_get_hash);
 
 PHP_FUNCTION(str_rot13);
 PHP_FUNCTION(stream_get_filters);