php-src/ext/intl/tests/resourcebundle_locales.phpt

24 lines
345 B
PHP
Executable File

--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