Function Auth_OpenID_getMathLib
Auth_OpenID_getMathLib()
checks for the presence of long
number extension modules and returns an instance of
Auth_OpenID_MathWrapper which exposes the module's
functionality.
Checks for the existence of an extension module described by the
result of Auth_OpenID_math_extensions()
and returns an
instance of a wrapper for that extension module. If no extension
module is found, an instance of Auth_OpenID_MathWrapper is
returned, which wraps the native PHP integer implementation. The
proper calling convention for this method is $lib =
Auth_OpenID_getMathLib().
This function checks for the existence of specific long number implementations in the following order: GMP followed by BCmath.
Copyright: 2005-2008 Janrain, Inc.
License: Apache
Author: JanRain, Inc. openid@janrain.com
Located at zp-extensions/federated_logon/Auth/OpenID/BigMath.php
Auth_OpenID_MathWrapper
|
$instance An instance of Auth_OpenID_MathWrapper or one of its subclasses |