On 1 Aug 2001 [EMAIL PROTECTED] wrote:
> From: [EMAIL PROTECTED]
> Operating system: Red Hat Linux 7.1
> PHP version: 4.0.4pl1
> PHP Bug Type: Arrays related
> Bug description: array_sum function total calculate error
> $tt=array(382478633,367687181,452504275,471367521,848270658,1181944543);
> $total_tt=array_sum($tt);
> echo "Total_tt=".$total_tt;
> // Prints Total_tt=-590714485
> Must be 3704252811.
Confirmed on:
i386 / OpenBSD-current / PHP 4.0.6 (from OpenBSD ports tree)
i386 / RH 7.1 / PHP 4.0.5 (from RH Rawhide)
i386 / RH 7.0 / PHP 4.0.5 (from Arvin's 4.0.5 RPMS)
--
<---------------------------------------------------------------------->
Heikki Korpela -- [EMAIL PROTECTED] -- http://iki.fi/heko/
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]