Stackable
PHP Manual

Stackable::chunk

(PECL pthreads >= 0.45)

Stackable::chunkManipulation

説明

final public boolean Stackable::chunk ( long $size , boolean $preserve )

Fetches a chunk of the objects member table of the given size, optionally preserving keys

パラメータ

size

The number of items to fetch

preserve

Preserve the keys of members, by default false

返り値

An array of items from the objects member table


Stackable
PHP Manual