PHP Options/Info Funktionen
PHP Manual

get_cfg_var

(PHP 4, PHP 5)

get_cfg_varErmittelt den Wert einer Konfigurationsoption

Beschreibung

string get_cfg_var ( string $option )

Ermittelt den aktuellen Wert der Konfigurationsoption 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 configuration setting. If this is available, a configuration file is being used.

Parameter-Liste

option

The configuration option name.

Rückgabewerte

Returns the current value of the PHP configuration variable specified by varname , or FALSE if an error occurs.

Siehe auch


PHP Options/Info Funktionen
PHP Manual