PHPINFO and get_loaded_extensions Functions

PHPINFO and get_loaded_extensions

The functions phpinfo() and get_loaded_extensions() will both let you know what PHP extensions are installed on your system. The code below shows how to see your extensions.

 echo phpinfo(); 

The code below shows how to print an array of extensions with the get_loaded_extensions() function.