mirror of
https://github.com/php/php-src.git
synced 2024-09-28 21:36:12 +00:00
24 lines
345 B
Plaintext
24 lines
345 B
Plaintext
|
--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
|