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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 11 02:01:26 2024 UTC