1--TEST-- 2IntlBreakIterator::getLocale(): basic test 3--EXTENSIONS-- 4intl 5--SKIPIF-- 6<?php if (version_compare(INTL_ICU_VERSION, '53.1') >= 0) die('skip for ICU < 53.1'); ?> 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(4) "root" 20