get_loaded_extensions()
function get_loaded_extensions(bool $zend_extensions = false): array
Returns an array with the names of all loaded modules.
Parameters:
$zend_extensions(bool), defaultfalse, optional
Returns: array
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/network_env/get_loaded_extensions.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how get_loaded_extensions is implemented in the compiler, see the internals page.