[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Crypt/Math/ -> BigInteger.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id: BigInteger.php 24593 2012-01-05 20:35:02Z matthew $
File Size: 117 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 3 files
 include/Zend/Crypt/Math/BigInteger/Bcmath.php
 include/Zend/Crypt/Math/BigInteger/Exception.php
 include/Zend/Crypt/Math/BigInteger/Gmp.php

Defines 1 class

Zend_Crypt_Math_BigInteger:: (3 methods):
  __construct()
  __call()
  _loadAdapter()


Class: Zend_Crypt_Math_BigInteger  - X-Ref

Support for arbitrary precision mathematics in PHP.

Zend_Crypt_Math_BigInteger is a wrapper across three PHP extensions: bcmath, gmp
and big_int. Since each offer similar functionality, but availability of
each differs across installations of PHP, this wrapper attempts to select
the fastest option available and encapsulate a subset of its functionality
which all extensions share in common.

This class requires one of the three extensions to be available. BCMATH
while the slowest, is available by default under Windows, and under Unix
if PHP is compiled with the flag "--enable-bcmath". GMP requires the gmp
library from http://www.swox.com/gmp/ and PHP compiled with the "--with-gmp"
flag. BIG_INT support is available from a big_int PHP library available from
only from PECL (a Windows port is not available).

__construct($extension = null)   X-Ref
Constructor; a Factory which detects a suitable PHP extension for
arbitrary precision math and instantiates the suitable wrapper
object.

param: string $extension

__call($methodName, $args)   X-Ref
Redirect all public method calls to the wrapped extension object.

param: string $methodName
param: array $args

_loadAdapter($extension = null)   X-Ref

param: string $extension



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1