|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #40486 dechex additional parameter
Submitted: 2007-02-14 21:31 UTC Modified: 2017-03-15 00:11 UTC
Avg. Score:2.7 ± 1.2
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: john dot meskes at senecac dot on dot ca Assigned: pollita (profile)
Status: Closed Package: Math related
PHP Version: 5.2.1 OS:
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 !
Your email address:
Solve the problem:
33 - 26 = ?
Subscribe to this entry?

 [2007-02-14 21:31 UTC] john dot meskes at senecac dot on dot ca
add 2nd parameter to dechex( , int size) such that
dechex(15,4) gives 000f
dechex(-1,16) gives ffffffffffffffff
dechex(-1,2) gives ff
dechex(1025,2) gives ? (either 401, 01, ff, or false)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:58 UTC]
-Package: Feature/Change Request +Package: Math related
 [2017-03-15 00:11 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: pollita
 [2017-03-15 00:11 UTC]
Trivially implemented in userspace.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Dec 06 07:01:27 2023 UTC