Function __global->get_cfg_var
Definitions
sources_custom/phpstub.php
- Gets the value of a PHP configuration option.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $varname | string | No | No | required parameter | N/A | N/A | Value name to get |
Returns
- Value (false: error)
- Type: ~string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Gets the value of a PHP configuration option.
*
* @param string $varname Value name to get
* @return ~string Value (false: error)
*/
function get_cfg_var(string $varname)
* Gets the value of a PHP configuration option.
*
* @param string $varname Value name to get
* @return ~string Value (false: error)
*/
function get_cfg_var(string $varname)

