Bladephp: Now with 7+ codeigniter, php, and laravel project 7+ php project From $18/Year From Rs. 1000/Year

PHP hex2bin() Function

by
Category:php
php php string
PHP hex2bin() Function

The PHP hex2bin() function is used to decode a hexadecimally encoded binary string. In other words, you can use this function to convert a string of hexadecimal values to ASCII characters. You may also like PHP convert_uuencode() Function and How to count same value in array using php.

Example

<?php
echo hex2bin("48656c6c6f20576f726c6421");
?>

Output

Hello World!

0 Comments


Html code work in comment box


Related Post