note 128013 added to function.base-convert

From: Date: Tue, 13 Dec 2022 10:06:16 +0000
Subject: note 128013 added to function.base-convert
Groups: php.notes 
Request: Send a blank email to php-notes+get-219969@lists.php.net to get a copy of this message
Addition to the method suggested by "lindsay at bitleap dot com". Easy way convert hex string to decimal string for 32-bit version of php <?php $test = '0x7000005a00000ea5'; $rrrrr = gmp_strval($test); var_dump($test, $rrrrr); ?> will return //string '0x7000005a00000ea5' (length=18) //string '8070450918794989221' (length=19) base_convert will return 8070450918794990488 ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.175 (proxied: 212.90.59.36) ---- Manual Page -- https://php.net/manual/en/function.base-convert.php Edit -- https://main.php.net/note/edit/128013 Del: integrated -- https://main.php.net/note/delete/128013/integrated Del: useless -- https://main.php.net/note/delete/128013/useless Del: bad code -- https://main.php.net/note/delete/128013/bad+code Del: spam -- https://main.php.net/note/delete/128013/spam Del: non-english -- https://main.php.net/note/delete/128013/non-english Del: in docs -- https://main.php.net/note/delete/128013/in+docs Del: other reasons-- https://main.php.net/note/delete/128013 Reject -- https://main.php.net/note/reject/128013 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219969) next »