1--TEST--
2Test ResourceBundle::__construct() with internal ICU bundles
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) || !defined('INTL_ICU_DATA_VERSION') || version_compare(INTL_ICU_DATA_VERSION, '4.4', '<') ) print 'skip'; ?>
5--FILE--
6<?php
7$b = new ResourceBundle('de_DE', 'ICUDATA-region');
8var_dump($b->get('Countries')->get('DE'));
9
10$b = new ResourceBundle('icuver', 'ICUDATA');
11var_dump($b->get('ICUVersion') !== NULL);
12
13$b = new ResourceBundle('supplementalData', 'ICUDATA', false);
14var_dump($b->get('cldrVersion') !== NULL);
15?>
16--EXPECT--
17string(11) "Deutschland"
18bool(true)
19bool(true)
20