1--TEST--
2IntlBreakIterator::current(): basic test
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10ini_set("intl.default_locale", "pt_PT");
11
12$bi = IntlBreakIterator::createWordInstance('pt');
13var_dump($bi->current());
14$bi->setText('foo bar trans zoo bee');
15
16var_dump($bi->first());
17var_dump($bi->current());
18var_dump($bi->next());
19var_dump($bi->current());
20?>
21==DONE==
22--EXPECT--
23int(0)
24int(0)
25int(0)
26int(3)
27int(3)
28==DONE==
29