Bug #12012 Updated: dec2bin and bin2dec
| From: | jeroen@php.net | Date: | Tue, 10 Jul 2001 18:22:35 +0000 |
| Subject: | Bug #12012 Updated: dec2bin and bin2dec | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-59588@lists.php.net to get a copy of this message | ||
ID: 12012
Updated by: jeroen
Reported By: yo@yo.com
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 4.0.6
New Comment:
Take a look at
http://www.php.net/bindec
and
http://www.php.net/decbin
They already exist...
Previous Comments:
------------------------------------------------------------------------
[2001-07-10 10:52:14] yo@yo.com
hi, can you please implement these functions in a future release ?
a binary to decimal converter:
int bin2dec(string binstr);
and a decimal to binary converter:
string dec2bin(int decvalue);
thanks
------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=12012&edit=1