1--TEST-- 2hex2bin(); function test 3--CREDITS-- 4edgarsandi - <edgar.r.sandi@gmail.com> 5--FILE-- 6<?php 7 8var_dump(bin2hex(hex2bin('012345')) == '012345'); 9var_dump(bin2hex(hex2bin('abc123')) == 'abc123'); 10var_dump(bin2hex(hex2bin('123abc')) == '123abc'); 11var_dump(bin2hex(hex2bin('FFFFFF')) == 'ffffff'); 12 13?> 14--EXPECT-- 15bool(true) 16bool(true) 17bool(true) 18bool(true) 19