略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: IntlPartsIterator

2024-05-02

The IntlPartsIterator class

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

简介

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().

类摘要

class IntlPartsIterator extends IntlIterator {
/* Constants */
const int KEY_SEQUENTIAL = 0;
const int KEY_LEFT = 1;
const int KEY_RIGHT = 2;
/* 方法 */
/* 继承的方法 */
public IntlIterator::next(): void
public IntlIterator::rewind(): void
public IntlIterator::valid(): bool
}

预定义常量

IntlPartsIterator::KEY_SEQUENTIAL

IntlPartsIterator::KEY_LEFT

IntlPartsIterator::KEY_RIGHT

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.intlpartsiterator.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3