1--TEST--
2IntlBreakIterator::current(): 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');
11var_dump($bi->current());
12$bi->setText('foo bar trans zoo bee');
13
14var_dump($bi->first());
15var_dump($bi->current());
16var_dump($bi->next());
17var_dump($bi->current());
18?>
19--EXPECT--
20int(0)
21int(0)
22int(0)
23int(3)
24int(3)
25