summaryrefslogtreecommitdiff
path: root/ext/intl/tests/resourcebundle_locales.phpt
blob: e14a7e5aa1eef3e21b4e13ac16ee0969c5d1bbb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--TEST--
Test ResourceBundle::getLocales
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
	
include "resourcebundle.inc";

function ut_main() {
	$str_res = '';

	$str_res .= join("\n", ut_resourcebundle_locales(BUNDLE));
	
	return $str_res;
}

	include_once( 'ut_common.inc' );
	ut_run();
?>
--EXPECT--
es
root