Gets the value of a PHP configuration option
Syntax
get_cfg_var(string $option): string|array|false
Parameters
option
The configuration option name.
Return
Returns the current value of the PHP configuration variable specified by option, or false if an error occurs.
Examples
<? $option = "allow_url_fopen"; $return = get_cfg_var($option); var_export($return); ?>
'1'