dis-bench / src /php /php-src /ext /intl /tests /breakiter_getText_basic.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
293 Bytes
--TEST--
IntlBreakIterator::getText(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$bi = IntlBreakIterator::createWordInstance('pt');
var_dump($bi->getText());
$bi->setText('foo bar');
var_dump($bi->getText());
?>
--EXPECT--
NULL
string(7) "foo bar"