1--TEST--
2IntlBreakIterator::getLastCodePoint(): bad args
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$it = IntlBreakIterator::createCodePointInstance();
12var_dump($it->getLastCodePoint(array()));
13--EXPECTF--
14
15Warning: IntlCodePointBreakIterator::getLastCodePoint() expects exactly 0 parameters, 1 given in %s on line %d
16
17Warning: IntlCodePointBreakIterator::getLastCodePoint(): cpbi_get_last_code_point: bad arguments in %s on line %d
18bool(false)
19
20