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