
| Path : /usr/src/php/ext/standard/tests/array/ |
| Current File : //usr/src/php/ext/standard/tests/array/bug14580.phpt |
--TEST--n Bug #14580 (key() not binary safe) --FILE-- <?php $arr = array (b"foo\0bar" => b"foo\0bar"); $key = key($arr); echo strlen($key), ': '; echo urlencode($key), "\n"; ?> --EXPECT-- 7: foo%00bar