No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

get_cfg_var

(PHP 4, PHP 5, PHP 7)

get_cfg_varGets the value of a PHP configuration option

Description

get_cfg_var ( string $option ) : mixed

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 configuration setting. If this is available, a configuration file is being used.

PHP: get_cfg_var - Manual Home of Manuel PHP  Contents Haut

Parameters

option

The configuration option name.

PHP: get_cfg_var - Manual Home of Manuel PHP  Contents Haut

Return Values

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

PHP: get_cfg_var - Manual Home of Manuel PHP  Contents Haut

Changelog

Version Description
5.3.0 get_cfg_var() was fixed to be able to return "array" ini options.

PHP: get_cfg_var - Manual Home of Manuel PHP  Contents Haut

See Also

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph