Thread
PHP Manual

Thread::chunk

(PECL pthreads >= 0.45)

Thread::chunkManipulation

Описание

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

Fetches a chunk of the objects properties 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


Thread
PHP Manual