php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7319 cannot do a division
Submitted: 2000-10-18 15:59 UTC Modified: 2000-10-19 05:21 UTC
From: michael at gammae dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.2 OS: unix
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michael at gammae dot com
New email:
PHP Version: OS:

 

 [2000-10-18 15:59 UTC] michael at gammae dot com
Is it possible that we cannot do, here is my example :
10 000 000 000 / 1 = 10 000 000 000 
with PHP it give me that : 2147483647

Thanks!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-19 05:21 UTC] hholzgra@php.net
you are experiencing an integer overflow

if you really have to deal with integers that big
and full precision then you have to either switch
to a 64bit platform or use the bcmath extensions
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 13:00:01 2026 UTC