1--TEST--
2IntlBreakIterator::getText(): 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);
10
11$bi = IntlBreakIterator::createWordInstance('pt');
12var_dump($bi->getText());
13$bi->setText('foo bar');
14var_dump($bi->getText());
15--EXPECT--
16NULL
17string(7) "foo bar"
18