IntlBreakIterator::setText

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

IntlBreakIterator::setTextSet the text being scanned

Description

public IntlBreakIterator::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

Version Description
8.3.0 This method now returns false on failure; previously it returns null.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top