boolean PEAR::loadExtension (
string $ext
)
Loads an extension by name
$ext
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.
Loading the domxml-extension
<?php
if(!PEAR::loadExtension("domxml")) {
echo 'Could not load DomXML-Extension!';
exit();
}
?>