Search Results
IntlBreakIterator::createLineInstance (PHP 5 >= 5.5.0, PHP 7, PHP 8) IntlBreakIterator::createLineInstance — Create break iterator for logically possible line breaks
This class implements IteratorAggregate. Traversing an IntlBreakIterator yields non-negative integer values representing the successive locations of the text boundaries, expressed as UTF-8 code units (byte) counts, taken from the beginning of the text (which has the location 0). The keys yielded by the iterator simply form the sequence of natural numbers {0, 1, 2, …}.
This class implements Traversable. Traversing an IntlBreakIterator yields non-negative integer values representing the successive locations of the text boundaries, expressed as UTF-8 code units (byte) counts, taken from the beggining of the text (which has the location 0). The keys yielded by the iterator simply form the sequence of natural numbers {0, 1, 2, …}.
Feb 2, 2024 · IntlBreakIterator::createLineInstance — Create break iterator for logically possible line breaks
This class implements Traversable. Traversing an IntlBreakIterator yields non-negative integer values representing the successive locations of the text boundaries, expressed as UTF-8 code units (byte) counts, taken from the beginning of the text (which has the location 0). The keys yielded by the iterator simply form the sequence of natural numbers {0, 1, 2, …}.
Simple usage example of `IntlBreakIterator::createLineInstance ()`. The PHP function IntlBreakIterator::createLineInstance is used to create a break iterator specifically for identifying logically possible line breaks in a given text. This function is part of the Intl extension, which provides internationalization functionalities for PHP applications.
The PHP Interpreter. Contribute to php/php-src development by creating an account on GitHub.
