1--TEST--
2IntlBreakIterator::getLocale(): basic test
3--EXTENSIONS--
4intl
5--SKIPIF--
6<?php if (version_compare(INTL_ICU_VERSION, '64.0') >= 0) die('skip for ICU < 64.0'); ?>
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10ini_set("intl.default_locale", "pt_PT");
11
12$bi = IntlBreakIterator::createSentenceInstance('pt');
13
14var_dump($bi->getLocale(0));
15var_dump($bi->getLocale(1));
16?>
17--EXPECT--
18string(4) "root"
19string(2) "pt"
20