File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings / bug61660.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:32:09 2013 UTC (11 years, 1 month ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17, HEAD
5.4.17

--TEST--
Bug #61660: bin2hex(hex2bin($data)) != $data
--FILE--
<?php

var_dump(hex2bin('123'));

?>
--EXPECTF--
Warning: hex2bin(): Hexadecimal input string must have an even length in %s on line %d
bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>