php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15926 sum error
Submitted: 2002-03-07 02:49 UTC Modified: 2002-11-05 01:00 UTC
From: wei_wang at tol24 dot com Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 4.1.2 OS: sparc solaris 7
Private report: No CVE-ID: None
 [2002-03-07 02:49 UTC] wei_wang at tol24 dot com
<?
        $bill_no=1;
        echo "bill_no=$bill_no";
        echo "<br>";
        $bill_no=10000000000+$bill_no %10000000000;
        echo "bill_no=$bill_no";
        echo "<br>";
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-07 02:53 UTC] derick@php.net
What is wrong with this?

It prints this for me:
bill_no=1<br>bill_no=10000000001<br>

Derick
 [2002-03-07 03:10 UTC] wei_wang at tol24 dot com
if in sparc solaris 7 ,apache 1.3.23and php4.1.2,run this program ,it is display :


bill_no=1<br>bill_no=10000000000<br>

the bill_no isn`t add 1

but at x86 solaris 7 ,it is ok!
 [2002-06-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-06-03 07:34 UTC] sniper@php.net
Please try PHP 4.2.1. I can't reproduce this.

--Jani

 [2002-06-18 08:25 UTC] hholzgra@php.net
reproduced with 4.2.1 on SunOS 2.5 and 2.7 (aka Soloaris7)
 [2002-10-20 15:59 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC