There is already a pure PHP solution within ZF which can be used.

Zend_Locale_Math is a bcmath clone which does automatically use BCMath and when it's not available switch to pure PHP implementation. For examples on usage look at Zend_Locale_Format or Zend_Measure_Abstract.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "zelnaga" <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 18, 2009 1:06 AM
Subject: [fw-general] pure-PHP BigInteger support



http://framework.zend.com/svn/framework/standard/incubator/library/Zend/Crypt/Math/BigInteger.php

I'm trying to use that in a project of mine and was wondering how difficult
it would be to add pure-PHP support to that?  There's a PHP4 BigInteger
library that could be adapted with relatively little work from the looks of
it:

http://phpseclib.cvs.sourceforge.net/viewvc/*checkout*/phpseclib/phpseclib/Math/BigInteger.php?revision=1.5

Short of updating the functions and variables the make them explicitly
public and private, I'm not sure what else would need to be done to that.
--
View this message in context: http://www.nabble.com/pure-PHP-BigInteger-support-tp22068811p22068811.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to