This article is mainly in PHP ini_set and ini_get function of the use of the summary introduction, the need for friends can come to the reference, I hope to help you
PHP in the Ini_set function is used to modify the set of PHP php.ini configuration file function, with this function is very convenient, do not have to manually modify the php.ini file, sometimes we do not have the right to modify the php.ini file, then use this function. Syntax: Ini_set ("Options", "value"); it's best to put PHP script at the top of the head for example: Ini_set ("Max_execution_time", "180");/set PHP script timeout of 180 seconds The specific PHP option can refer to the Configuration PHP Core section of the Phpinfo file ini_get just as opposed to Ini_set to take the value of the environment variable in the php.ini file. Syntax: String ini_get (string varname); Returns the value of the option, or returns 0 or 1 if the value of the option is Boolean, for example: Echo ini_get (' max_execution_time ');/output 30 if you want to get the entire PHP. INI, we can use the Ini_get enhancement function ini_get_all () it returns the entire PHP environment variable in the form of an array.