1--TEST--
2Test ResourceBundle::getLocales
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7
8include "resourcebundle.inc";
9
10function 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--
22es
23root
24