1--TEST-- 2IntlBreakIterator::first(): basic test 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7--FILE-- 8<?php 9ini_set("intl.error_level", E_WARNING); 10 11$bi = IntlBreakIterator::createWordInstance('pt'); 12$bi->setText('foo bar trans'); 13 14var_dump($bi->current()); 15var_dump($bi->next()); 16var_dump($bi->first()); 17var_dump($bi->current()); 18--EXPECT-- 19int(0) 20int(3) 21int(0) 22int(0) 23