get_cfg_var

get_cfg_var

(PHP 4, PHP 5, PHP 7)

get_cfg_varGets the value of a PHP configuration option

Description

string get_cfg_var ( string $option )

Gets the value of a PHP configuration option.

This function will not return configuration information set when the PHP was compiled, or read from an Apache configuration file.

To check whether the system is using a configuration file, try retrieving the value of the cfg_file_path configur