# The IntlPartsIterator class

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

## Einführung

Objects of this class can be obtained from IntlBreakIterator objects. While the break iterators provide a sequence of boundary positions when iterated, IntlPartsIterator objects provide, as a convenience, the text fragments comprehended between two successive boundaries.

The keys may represent the offset of the left boundary, right boundary, or they may just the sequence of non-negative integers. See IntlBreakIterator::getPartsIterator().

## Klassenbeschreibung

class IntlPartsIterator extends IntlIterator {
/* Konstanten */
public const int KEY_SEQUENTIAL;
public const int KEY_LEFT;
public const int KEY_RIGHT;
/* Methoden */
public getBreakIterator(): IntlBreakIterator
/* Geerbte Methoden */
public IntlIterator::current(): mixed
public IntlIterator::key(): mixed
public IntlIterator::next(): void
public IntlIterator::rewind(): void
public IntlIterator::valid(): bool
}

## Vordefinierte Konstanten

`IntlPartsIterator::KEY_SEQUENTIAL` int

`IntlPartsIterator::KEY_LEFT` int

`IntlPartsIterator::KEY_RIGHT` int

## Changelog

Version | Beschreibung
--- | ---
8.4.0 | The class constants are now typed.

## Inhaltsverzeichnis

- IntlPartsIterator::getBreakIterator — Get IntlBreakIterator backing this parts iterator

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open