Annotation of embedaddon/php/ext/standard/tests/array/bug14580.phpt, revision 1.1

1.1     ! misho       1: --TEST--n
        !             2: Bug #14580 (key() not binary safe)
        !             3: --FILE--
        !             4: <?php
        !             5:        $arr = array (b"foo\0bar" => b"foo\0bar");
        !             6:        $key = key($arr);
        !             7:        echo strlen($key), ': ';
        !             8:        echo urlencode($key), "\n";
        !             9: ?>
        !            10: --EXPECT--
        !            11: 7: foo%00bar

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