Tagbin2hex in php

PHP bin2hex() Function


In this article, you will learn; How to convert the ASCII characters to the Hexadecimal values. The PHP bin2hex() method converts the ASCII characters into hexadecimal values. We can convert back the hexadecimal value to the ASCII character using the pack() function in PHP. What is the BIN2HEX() syntax of the function in PHP? bin2hex(string) ParameterDescriptionstringThe String to convert to...

Tutor Network

Learn PHP from A to Z