These functions are
Ini_alter-change the configuration parameter value
Ini_get-Get Configuration Parameter Value
Ini_restore-Restore original configuration parameter values
Ini_set-set the Configuration Parameter Value
For example, you can use
Print (ini_get ("include_path "));
Ini_set ("include_path", "f :");
Print (ini_get ("include_path "));
Ini_restore ("include_path ");
Print (ini_get ("include_path "));
Ini_set ("include_path", "f: php2000 ");
Print (ini_get ("include_path "));
?>
Output as (I added a line feed for comparison)
F: php2000
F:
F:
F: php2000
I don't know why restore error ??? ???
In this way, we can change the parameter configuration value in the program at any time. At the same time, I found that the default parameter of the system is not changed during the next execution, that is, the change is limited to the current script running period.