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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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 00:00:02 2026 UTC