Function __global->php_function_allowed
Definitions
sources/global.php
- Find whether a particular PHP function is blocked.Note that you still need to put "@" before set_time_limit, as some webhost(s) have their own non-detectable block:"Cannot set max execution time limit due to system policy".
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$function | string | required parameter | N/A | N/A | Function name |
Return
- Whether it is
- Type: boolean
- Set: N/A
- Range: N/A
sources/minikernel.php
- Find whether a particular PHP function is blocked.This is just a wrapper for bootstrap's php_function_allowed.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$function | string | required parameter | N/A | N/A | Function name |
Return
- Whether it is
- Type: boolean
- Set: N/A
- Range: N/A