Function __global->function_exists
Definitions
sources_custom/phpstub.php
- Find whether the function of the given function name has been defined.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $function_name | string | No | No | required parameter | N/A | N/A | The name of the function |
Returns
- Whether it is defined
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether the function of the given function name has been defined.
*
* @param string $function_name The name of the function
* @return boolean Whether it is defined
*/
function function_exists(string $function_name) : bool
* Find whether the function of the given function name has been defined.
*
* @param string $function_name The name of the function
* @return boolean Whether it is defined
*/
function function_exists(string $function_name) : bool

