]> granicus.if.org Git - php/commit
Fix bug #61660: bin2hex(hex2bin($data)) != $data
authorNikita Popov <nikic@php.net>
Sun, 8 Apr 2012 20:36:50 +0000 (22:36 +0200)
committerNikita Popov <nikic@php.net>
Sun, 8 Apr 2012 20:38:21 +0000 (22:38 +0200)
commit7ae93a2c4c8a51cc2aec9977ce3c83c100e382a0
tree35ababcf81b06e0b1de815e9a86efe64f7e9bd2d
parentf7d407678570f8e4063b70bd30f3fc19c10442ea
Fix bug #61660: bin2hex(hex2bin($data)) != $data

If the input data has an odd length a warning is thrown and false is returned.
NEWS
ext/standard/string.c
ext/standard/tests/strings/bug61660.phpt [new file with mode: 0644]