php.net |  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
Votes:3
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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
Description:
------------
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)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:58 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Math related
 [2017-03-15 00:11 UTC] pollita@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pollita
 [2017-03-15 00:11 UTC] pollita@php.net
Trivially implemented in userspace.

https://3v4l.org/8J7Nk
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Dec 05 04:05:52 2022 UTC