note 115200 added to function.hex2bin
| From: | EM | Date: | Wed, 11 Jun 2014 22:14:03 +0000 |
| Subject: | note 115200 added to function.hex2bin | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199658@lists.php.net to get a copy of this message | ||
Ran into an interesting case with hex2bin and php5.5.12 while upgrading from 5.3.3 -> 5.5.12
The previous code had redeclared the hex2bin function with the $binary_string = pack("H*"
, $hex_string) trick.
php5.5.12 would have none of that. The solution, albeit a hacky one, was doing a find an replace of
hex2bin to 'hex3bin' for the whole site directory.
----
Server IP: 72.52.91.14
Probable Submitter: 74.80.8.12
----
Manual Page -- http://php.net/manual/en/function.hex2bin.php
Edit -- https://master.php.net/note/edit/115200
Del: integrated -- https://master.php.net/note/delete/115200/integrated
Del: useless -- https://master.php.net/note/delete/115200/useless
Del: bad code -- https://master.php.net/note/delete/115200/bad+code
Del: spam -- https://master.php.net/note/delete/115200/spam
Del: non-english -- https://master.php.net/note/delete/115200/non-english
Del: in docs -- https://master.php.net/note/delete/115200/in+docs
Del: other reasons-- https://master.php.net/note/delete/115200
Reject -- https://master.php.net/note/reject/115200
Search -- https://master.php.net/manage/user-notes.php