web/lib/Zend/Crypt/Math/BigInteger.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Crypt
    16  * @package    Zend_Crypt
    17  * @subpackage Math
    17  * @subpackage Math
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: BigInteger.php 24593 2012-01-05 20:35:02Z matthew $
    20  * @version    $Id$
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * Support for arbitrary precision mathematics in PHP.
    24  * Support for arbitrary precision mathematics in PHP.
    25  *
    25  *
    36  * flag. BIG_INT support is available from a big_int PHP library available from
    36  * flag. BIG_INT support is available from a big_int PHP library available from
    37  * only from PECL (a Windows port is not available).
    37  * only from PECL (a Windows port is not available).
    38  *
    38  *
    39  * @category   Zend
    39  * @category   Zend
    40  * @package    Zend_Crypt
    40  * @package    Zend_Crypt
    41  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    41  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    42  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    42  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    43  */
    43  */
    44 class Zend_Crypt_Math_BigInteger
    44 class Zend_Crypt_Math_BigInteger
    45 {
    45 {
    46 
    46 
    69     }
    69     }
    70 
    70 
    71     /**
    71     /**
    72      * Redirect all public method calls to the wrapped extension object.
    72      * Redirect all public method calls to the wrapped extension object.
    73      *
    73      *
    74      * @param   string $methodName
    74      * @param  string $methodName
    75      * @param   array $args
    75      * @param  array  $args
    76      * @throws  Zend_Crypt_Math_BigInteger_Exception
    76      * @return mixed
       
    77      * @throws Zend_Crypt_Math_BigInteger_Exception
    77      */
    78      */
    78     public function __call($methodName, $args)
    79     public function __call($methodName, $args)
    79     {
    80     {
    80         if(!method_exists($this->_math, $methodName)) {
    81         if(!method_exists($this->_math, $methodName)) {
    81             require_once 'Zend/Crypt/Math/BigInteger/Exception.php';
    82             require_once 'Zend/Crypt/Math/BigInteger/Exception.php';