Skip to content

List all loaded extensions in PHP

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
)
0 0 votes
Article Rating
Subscribe
Notify of
guest

1 Comment
Most Voted
Newest Oldest
Inline Feedbacks
View all comments