lib/magento/Package.php
public function checkPhpDependencies()
    {
        $errors = array();
        foreach($this->getDependencyPhpExtensions() as $dep)
        {
            if(!extension_loaded($dep['name'])) {
                $errors[] = $dep;
            }
        }
        if(count($errors)) {
            return $errors;
        }
        return true;
    }
public function checkPhpDependencies()
    {
        $errors = array();
        foreach($this->getDependencyPhpExtensions() as $dep)
        {
            if(!extension_loaded($dep['name'])) {
                $errors[] = $dep;
            }
        }
        if(count($errors)) {
            return $errors;
        }
        return true;
    }
public function checkPhpDependencies ( ) { $ errors = array ( ) ; foreach ( $ this -> getDependencyPhpExtensions ( ) as $ dep ) { if ( ! extension_loaded ( $ dep [ 'name' ] ) ) { $ errors [ ] = $ dep ; } } if ( count ( $ errors ) ) { return $ errors ; } return true ; }
Check PHP extensions availability
@throws Exceptiom on failure
@return true | array
Check PHP extensions availability