From: foobar Date: Tue, 3 Sep 2002 22:54:02 +0000 (+0000) Subject: Use zend_ini_string instead of the 'alias'. X-Git-Tag: RELEASE_0_91~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=639221694fa5104512e8a905fb09036af90cffbf;p=php Use zend_ini_string instead of the 'alias'. --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index eb00f97ee6..7468c7b73c 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1983,7 +1983,7 @@ PHP_FUNCTION(ini_get) convert_to_string_ex(varname); - str = php_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0); + str = zend_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0); if (!str) { RETURN_FALSE; @@ -2080,7 +2080,7 @@ PHP_FUNCTION(ini_set) convert_to_string_ex(varname); convert_to_string_ex(new_value); - old_value = php_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0); + old_value = zend_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0); /* copy to return here, because alter might free it! */ if (old_value) { diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 2c52b9a039..b6bf9e90ff 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -135,7 +135,7 @@ static PHP_INI_MH(OnUpdate_zlib_output_compression) { char *ini_value; - ini_value = php_ini_string("output_handler", sizeof("output_handler"), 0); + ini_value = zend_ini_string("output_handler", sizeof("output_handler"), 0); if (ini_value != NULL && strlen(ini_value) != 0 && new_value != NULL && strlen(new_value) != 0 ) { php_error_docref("ref.outcontrol" TSRMLS_CC, E_CORE_ERROR, "Cannot use both zlib.output_compression and output_handler together!!");