Function __global->ini_get
Definitions
sources_custom/phpstub.php
- Gets the value of a configuration option. Note: On Phalanger any unknown config options will produce a warning if fetched.
- 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 | Config option |
Returns
- Value of option (empty: no such config option, or an empty value) (false: ditto)
- Type: ~mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Gets the value of a configuration option. Note: On Phalanger any unknown config options will produce a warning if fetched.
*
* @param string $varname Config option
* @return ~mixed Value of option (empty: no such config option, or an empty value) (false: ditto)
*/
function ini_get(string $varname)
* Gets the value of a configuration option. Note: On Phalanger any unknown config options will produce a warning if fetched.
*
* @param string $varname Config option
* @return ~mixed Value of option (empty: no such config option, or an empty value) (false: ditto)
*/
function ini_get(string $varname)

