php bigint code example
Example 1: php to int
$num = "3.14";
$int = (int)$num;
Example 2: big int php
<?php
include('Math/BigInteger.php');
$a = new Math_BigInteger(2);
$b = new Math_BigInteger(3);
$c = $a->add($b);
echo $c->toString(); // 5
?>