PHP function get_cfg_var()

Availability in PHP 4.0

Gets the value of a PHP configuration option

Parameters

Parameter Data type Default value Note
$option string not The configuration option name.

Return values

string

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

Additional resources

Official get-cfg-var documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.