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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
45 - 19 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 18:02:40 2024 UTC