OCI-Collection::trim()
(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)
Trims elements from the end of the collection
说明
OCI-Collection::trim(int $num): bool
Trims$numof elements from the end of the collection.
参数
- $num
The number of elements to be trimmed.
返回值
成功时返回TRUE
,或者在失败时返回FALSE
。
参见
- OCI-Collection::size