diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-10 22:42:38 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-10 22:42:38 +0200 |
commit | cee31091a960014ce5315008fc64437d04174caf (patch) | |
tree | b3306135c8ace884a07d948422b1c26dc01a6f1e /ext/intl/tests/breakiter_following_preceding_isBoundary_error.phpt | |
parent | 87dd0269ba262649402bf00207f80aede181f1e7 (diff) | |
download | php-git-cee31091a960014ce5315008fc64437d04174caf.tar.gz |
Add Intl prefix to BreakIterator/RuleBasedBI
Diffstat (limited to 'ext/intl/tests/breakiter_following_preceding_isBoundary_error.phpt')
-rw-r--r-- | ext/intl/tests/breakiter_following_preceding_isBoundary_error.phpt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/ext/intl/tests/breakiter_following_preceding_isBoundary_error.phpt b/ext/intl/tests/breakiter_following_preceding_isBoundary_error.phpt index 016db6441e..a4b60857ab 100644 --- a/ext/intl/tests/breakiter_following_preceding_isBoundary_error.phpt +++ b/ext/intl/tests/breakiter_following_preceding_isBoundary_error.phpt @@ -1,10 +1,10 @@ --TEST-- -BreakIterator::following()/preceding()/isBoundary(): arg errors +IntlBreakIterator::following()/preceding()/isBoundary(): arg errors --FILE-- <?php ini_set("intl.error_level", E_WARNING); -$bi = new RuleBasedBreakiterator('[\p{Letter}\uFFFD]+;[:number:]+;'); +$bi = new IntlRuleBasedBreakIterator('[\p{Letter}\uFFFD]+;[:number:]+;'); $bi->setText("\x80sdfé\x90d888 dfsa9"); var_dump($bi->following(1, 2)); @@ -16,32 +16,32 @@ var_dump($bi->isBoundary(array())); --EXPECTF-- -Warning: BreakIterator::following() expects exactly 1 parameter, 2 given in %s on line %d +Warning: IntlBreakIterator::following() expects exactly 1 parameter, 2 given in %s on line %d -Warning: BreakIterator::following(): breakiter_following: bad arguments in %s on line %d +Warning: IntlBreakIterator::following(): breakiter_following: bad arguments in %s on line %d bool(false) -Warning: BreakIterator::following() expects parameter 1 to be long, array given in %s on line %d +Warning: IntlBreakIterator::following() expects parameter 1 to be long, array given in %s on line %d -Warning: BreakIterator::following(): breakiter_following: bad arguments in %s on line %d +Warning: IntlBreakIterator::following(): breakiter_following: bad arguments in %s on line %d bool(false) -Warning: BreakIterator::preceding() expects exactly 1 parameter, 2 given in %s on line %d +Warning: IntlBreakIterator::preceding() expects exactly 1 parameter, 2 given in %s on line %d -Warning: BreakIterator::preceding(): breakiter_preceding: bad arguments in %s on line %d +Warning: IntlBreakIterator::preceding(): breakiter_preceding: bad arguments in %s on line %d bool(false) -Warning: BreakIterator::preceding() expects parameter 1 to be long, array given in %s on line %d +Warning: IntlBreakIterator::preceding() expects parameter 1 to be long, array given in %s on line %d -Warning: BreakIterator::preceding(): breakiter_preceding: bad arguments in %s on line %d +Warning: IntlBreakIterator::preceding(): breakiter_preceding: bad arguments in %s on line %d bool(false) -Warning: BreakIterator::isBoundary() expects exactly 1 parameter, 2 given in %s on line %d +Warning: IntlBreakIterator::isBoundary() expects exactly 1 parameter, 2 given in %s on line %d -Warning: BreakIterator::isBoundary(): breakiter_is_boundary: bad arguments in %s on line %d +Warning: IntlBreakIterator::isBoundary(): breakiter_is_boundary: bad arguments in %s on line %d bool(false) -Warning: BreakIterator::isBoundary() expects parameter 1 to be long, array given in %s on line %d +Warning: IntlBreakIterator::isBoundary() expects parameter 1 to be long, array given in %s on line %d -Warning: BreakIterator::isBoundary(): breakiter_is_boundary: bad arguments in %s on line %d +Warning: IntlBreakIterator::isBoundary(): breakiter_is_boundary: bad arguments in %s on line %d bool(false) |