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