文字

OCI-Collection::trim

(PHP 5, PECL OCI8 >= 1.1.0)

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

说明

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

Trims num of elements from the end of the collection.

参数

num

The number of elements to be trimmed.

返回值

成功时返回 TRUE , 或者在失败时返回 FALSE

参见

  • OCI-Collection::size
上一篇: 下一篇: