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
 [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: Sat Oct 10 22:00:02 2026 UTC