![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #61660: bin2hex(hex2bin($data)) != $data ! 3: --FILE-- ! 4: <?php ! 5: ! 6: var_dump(hex2bin('123')); ! 7: ! 8: ?> ! 9: --EXPECTF-- ! 10: Warning: hex2bin(): Hexadecimal input string must have an even length in %s on line %d ! 11: bool(false)