--TEST-- Bug #14580 (key() not binary safe) --FILE-- "foo\0bar"); $key = key($arr); echo strlen($key), ': '; echo urlencode($key), "\n"; ?> --EXPECT-- 7: foo%00bar