dis-bench / src /php /php-src /ext /intl /tests /breakiter_last_basic.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
318 Bytes
--TEST--
IntlBreakIterator::last(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$bi = IntlBreakIterator::createWordInstance('pt');
$bi->setText('foo bar trans');
var_dump($bi->current());
var_dump($bi->last());
var_dump($bi->current());
?>
--EXPECT--
int(0)
int(13)
int(13)