|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: john dot meskes at senecac dot on dot ca
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 14:01:33 2024 UTC