Hey we can easily get names of all modules compiled and loaded in the PHP using PHP’s built-in function called get_loaded_extensions()
. This function returns the names of all the modules compiled and loaded in the PHP interpreter.
How to Use :
The above example will output something similar to:
Array ( [0] => Core [1] => libxml [2] => filter [3] => SPL [4] => standard [5] => phalcon [6] => pdo_mysql )