function &getDependency2Object(&$c, $i, $p, $s)
    {
        if (!class_exists('PEAR_Dependency2')) {
            require_once 'PEAR/Dependency2.php';
        }
        $z = &new PEAR_Dependency2($c, $i, $p, $s);
        return $z;
    }
function &getDependency2Object(&$c, $i, $p, $s)
    {
        if (!class_exists('PEAR_Dependency2')) {
            require_once 'PEAR/Dependency2.php';
        }
        $z = &new PEAR_Dependency2($c, $i, $p, $s);
        return $z;
    }
function & getDependency2Object ( & $ c , $ i , $ p , $ s ) { if ( ! class_exists ( 'PEAR_Dependency2' ) ) { require_once 'PEAR/Dependency2.php' ; } $ z = & new PEAR_Dependency2 ( $ c , $ i , $ p , $ s ) ; return $ z ; }
For simpler unit-testing
@param PEAR_Config
@param array
@param array
@param int
For simpler unit - testing