1--TEST--
2IntlBreakIterator::isBoundary(): 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 zoo bee');
12
13var_dump($bi->isBoundary(0));
14var_dump($bi->isBoundary(7));
15var_dump($bi->isBoundary(-1));
16var_dump($bi->isBoundary(1));
17var_dump($bi->isBoundary(50));
18?>
19--EXPECT--
20bool(true)
21bool(true)
22bool(false)
23bool(false)
24bool(false)
25