..
BIN2HEX function performs the conversion of binary data in hexadecimal representation. Requires the string as the only parameter on which to operate. Here's an example:
BIN2HEX echo ('Hello');
will produce the following output:
48656c6c6fUnfortunately, PHP does not natively have a function capable of performing the conversion to the contrary.
| |
Linux (Course)
Complete guide to open-source system. From 49 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |