require_once 'PEAR.php';
boolean PEAR::loadExtension (string $ext)
boolean PEAR::loadExtension
Loads an extension by name
The case-sensitive name of the PHP extension without filename suffix or php_ prefix.
boolean - returns TRUE, if extension could be loaded
This function can be called statically.
Example 26-1. Loading the domxml-extension
if(!PEAR::loadExtension("domxml")) { echo 'Could not load DomXML-Extension!'; exit(); }