get_loaded_extensions
PHP 4, PHP 5, PHP 7, PHP 8
get_loaded_extensions - Returns an array with the names of all modules compiled and loaded
Manual
get_loaded_extensions(
[bool$zend_extensions = false] ): array
This function returns the names of all the modules compiled and loaded in the PHP interpreter.
Parameters
- zend_extensions
-
Only return Zend extensions, if not then regular extensions, like mysqli are listed. Defaults to false (return regular extensions).
Return Values
Returns an indexed array of all the modules names.