OCI-Collection::trim

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)

OCI-Collection::trimTrims elements from the end of the collection

Descrição

OCI-Collection::trim ( int $num ) : bool

Trims num of elements from the end of the collection.

Parâmetros

num

The number of elements to be trimmed.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

Veja Também