IntlBreakIterator::setText

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

IntlBreakIterator::setTextSet the text being scanned

Description

publicIntlBreakIterator::setText(string$text): bool

Warning

This function is currently not documented; only its argument list is available.

Parameters

text

Return Values

Returns true on success or false on failure.

Changelog

VersionDescription
8.3.0 This method now returns false on failure; previously it returns null.
To Top