Annotation of embedaddon/php/ext/intl/tests/bug62070_2.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #62070: Collator::getSortKey() returns garbage
        !             3: --SKIPIF--
        !             4: <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?>
        !             5: <?php if (version_compare(INTL_ICU_VERSION, '53.1') < 0) die('skip for ICU >= 53.1'); ?>
        !             6: --FILE--
        !             7: <?php
        !             8: $s1 = 'Hello';
        !             9: 
        !            10: $coll = collator_create('en_US');
        !            11: $res = collator_get_sort_key($coll, $s1);
        !            12: 
        !            13: echo urlencode($res);
        !            14: --EXPECT--
        !            15: 71%3F%3FE%01%09%01%DC%08

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