note 107816 added to function.dechex
| From: | andries at centim dot be | Date: | Wed, 07 Mar 2012 14:44:13 +0000 |
| Subject: | note 107816 added to function.dechex | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186524@lists.php.net to get a copy of this message | ||
If you need to convert a large number (> PHP_MAX_INT) to a hex value, simply use base_convert.
For example:
base_convert('2190964402', 10, 16); // 829776b2
----
Server IP: 79.99.203.17
Probable Submitter: 84.193.54.187
----
Manual Page -- http://www.php.net/manual/en/function.dechex.php
Edit -- https://master.php.net/note/edit/107816
Del: integrated -- https://master.php.net/note/delete/107816/integrated
Del: useless -- https://master.php.net/note/delete/107816/useless
Del: bad code -- https://master.php.net/note/delete/107816/bad+code
Del: spam -- https://master.php.net/note/delete/107816/spam
Del: non-english -- https://master.php.net/note/delete/107816/non-english
Del: in docs -- https://master.php.net/note/delete/107816/in+docs
Del: other reasons-- https://master.php.net/note/delete/107816
Reject -- https://master.php.net/note/reject/107816
Search -- https://master.php.net/manage/user-notes.php