function_exists()
function function_exists(string $function): bool
Returns true if the given function has been defined.
Parameters:
$function(string)
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how function_exists is implemented in the compiler, see the internals page.