1--TEST--
2IntlBreakIterator::last(): basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8
9$bi = IntlBreakIterator::createWordInstance('pt');
10$bi->setText('foo bar trans');
11
12var_dump($bi->current());
13var_dump($bi->last());
14var_dump($bi->current());
15?>
16--EXPECT--
17int(0)
18int(13)
19int(13)
20