Get an array with the names of all modules compiled and loaded in PHP

Description

The following code shows how to get an array with the names of all modules compiled and loaded.

Example



<?php
print_r(get_loaded_extensions());
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Development »




Environment
Error
Hash
Include
Locale
Math
Network
Output
Reflection
PHP Regular Expressions