|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31036 decbin returns wrong value
Submitted: 2004-12-09 10:21 UTC Modified: 2004-12-17 01:00 UTC
From: stepanov at transchip dot com Assigned:
Status: No Feedback Package: Math related
PHP Version: 5.0.2 OS: Windows
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:
Solve the problem:
33 + 40 = ?
Subscribe to this entry?

 [2004-12-09 10:21 UTC] stepanov at transchip dot com
for number 2155873860<4294967295 decbin returns 1111111111111111111111111111111

Reproduce code:
print decbin(2155873860);

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-09 10:32 UTC]
Please try using this CVS snapshot:
For Windows:
 [2004-12-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, 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-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 07:01:27 2023 UTC