]> granicus.if.org Git - php/commitdiff
@- Added ini_set() as an alias to ini_alter() (Zeev)
authorZeev Suraski <zeev@php.net>
Sat, 26 Feb 2000 14:53:18 +0000 (14:53 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 26 Feb 2000 14:53:18 +0000 (14:53 +0000)
ext/standard/basic_functions.c
ext/standard/basic_functions.h

index 7c4ce933dcf57f0f56df39cd3baf1fa41a0c34c4..38a92857d407059b5c71fe463a04870976aa8061 100644 (file)
@@ -287,7 +287,8 @@ function_entry basic_functions[] = {
        PHP_FE(highlight_string,                        NULL)
        
        PHP_FE(ini_get,                                         NULL)
-       PHP_FE(ini_alter,                                       NULL)
+       PHP_FE(ini_set,                                         NULL)
+       PHP_FALIAS(ini_alter,   ini_set,        NULL)
        PHP_FE(ini_restore,                                     NULL)
 
        PHP_FE(print_r,                                 NULL)
@@ -1323,7 +1324,7 @@ PHP_FUNCTION(ini_get)
 }
 
 
-PHP_FUNCTION(ini_alter)
+PHP_FUNCTION(ini_set)
 {
        pval **varname, **new_value;
        char *old_value;
index a77dabab8f7acb3f0a58a4c0afff7ca0475c708d..d0026e296680dfe5ccff7c92b33131ace33b4a96 100644 (file)
@@ -88,7 +88,7 @@ PHP_FUNCTION(highlight_string);
 ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini);
 
 PHP_FUNCTION(ini_get);
-PHP_FUNCTION(ini_alter);
+PHP_FUNCTION(ini_set);
 PHP_FUNCTION(ini_restore);
 
 PHP_FUNCTION(print_r);