Gen. partnerAlgotech

PHP function get_cfg_var()

Gets the value of a PHP configuration option

|
September 11, 2019

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

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.