← All docs

get_loaded_extensions()

Returns an array with the names of all loaded modules.

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), default false, optional

Returns: array

Availability

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.