最近开始学习php,ini_alter()这个函数什么意思?
[b]问题补充:[/b]
ini_alter函数我查了手册,上面讲的都是只有两个参数,说是ini_set()的别名
但是下面这样写又是上面意思呢?
ini_alter("include_path",
get_include_path().
";".JSCC_HOME."/src".
";".JSCC_HOME."/phplib");
[quote]
string ini_set ( string $varname, string $newvalue ) [/quote]
你的
[quote]ini_alter("include_path",
get_include_path().
";".JSCC_HOME."/src".
";".JSCC_HOME."/phplib"); [/quote]
意思是:
修改 include_path属性, 原有基础上添加 ;JSCC_HOME/src;JSCC_HOME/phplib;
[quote]ini_alter()这个函数什么意思?[/quote]
ini_alter
Description
This function is an alias of: ini_set().
ini_set
(PHP 4, PHP 5)
ini_set — Sets the value of a configuration option
Description
string ini_set ( string $varname, string $newvalue )
Sets the value of the given configuration option. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending.
ini_alter -- 修改设定参数值
说明:
string ini_alter ( string varname, string newvalue)
修改php设定参数值, 错误回传False.