1--TEST--
2IntlBreakIterator::first(): 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->next());
14var_dump($bi->first());
15var_dump($bi->current());
16?>
17--EXPECT--
18int(0)
19int(3)
20int(0)
21int(0)
22