Annotation of embedaddon/php/ext/intl/tests/resourcebundle_locales.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test ResourceBundle::getLocales
                      3: --SKIPIF--
                      4: <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
                      5: --FILE--
                      6: <?php
                      7:        
                      8: include "resourcebundle.inc";
                      9: 
                     10: function ut_main() {
                     11:        $str_res = '';
                     12: 
                     13:        $str_res .= join("\n", ut_resourcebundle_locales(BUNDLE));
                     14:        
                     15:        return $str_res;
                     16: }
                     17: 
                     18:        include_once( 'ut_common.inc' );
                     19:        ut_run();
                     20: ?>
                     21: --EXPECT--
                     22: es
                     23: root

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