1--TEST--
2IntlBreakIterator::getText(): arg errors
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 = new IntlRuleBasedBreakIterator('[\p{Letter}]+;');
12var_dump($bi->getText(array()));
13
14--EXPECTF--
15
16Warning: IntlBreakIterator::getText() expects exactly 0 parameters, 1 given in %s on line %d
17
18Warning: IntlBreakIterator::getText(): breakiter_get_text: bad arguments in %s on line %d
19bool(false)
20