(PHP3 >= 3.0.10, PHP4 >= 4.0b4)
bool extension_loaded (string name)
bool extension_loaded
Returns true if the extension identified by name is loaded. You can see the names of various extensions by using phpinfo().
See also phpinfo().
Note: This function was added in 3.0.10.