public static function createFromServerConfiguration() {
        //@codeCoverageIgnoreStart
        if (extension_loaded('gmp')) {
            return new \SecurityLib\BigMath\GMP();
        } elseif (extension_loaded('bcmath')) {
            return new \SecurityLib\BigMath\BCMath();
        } else {
            return new \SecurityLib\BigMath\PHPMath();
        }
        //@codeCoverageIgnoreEnd
    }
public static function createFromServerConfiguration() {
        //@codeCoverageIgnoreStart
        if (extension_loaded('gmp')) {
            return new \SecurityLib\BigMath\GMP();
        } elseif (extension_loaded('bcmath')) {
            return new \SecurityLib\BigMath\BCMath();
        } else {
            return new \SecurityLib\BigMath\PHPMath();
        }
        //@codeCoverageIgnoreEnd
    }
public static function createFromServerConfiguration ( ) { //@codeCoverageIgnoreStart if ( extension_loaded ( 'gmp' ) ) { return new \ SecurityLib \ BigMath \ GMP ( ) ; } elseif ( extension_loaded ( 'bcmath' ) ) { return new \ SecurityLib \ BigMath \ BCMath ( ) ; } else { return new \ SecurityLib \ BigMath \ PHPMath ( ) ; } //@codeCoverageIgnoreEnd }
Get an instance of the big math class

This is NOT a singleton.  It simply loads the proper strategy
given the current server configuration

@return \SecurityLib\BigMath A big math instance
Get an instance of the big math class