--TEST-- IntlBreakIterator::preceding(): basic test, ICU >= 58.1 --EXTENSIONS-- intl --SKIPIF-- 57.1'); ?> --FILE-- setText('foo bar trans zoo bee'); var_dump($bi->preceding(5)); var_dump($bi->preceding(50)); var_dump($bi->preceding(-1)); ?> --EXPECTF-- int(4) int(21) int(%i)