OCI-Collection::trim

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

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

说明

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

Trims num of elements from the end of the collection.

参数

num

The number of elements to be trimmed.

返回值

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

相关文章
php eventbuffer moves the specified number of bytes from a source buffer to the end of the current bufferphp grapheme 函数 returns part of haystack string from the first occurrence of case insensitive needle to the end of haystackphp oci8 函数 returns the next row from a query as an associative or numeric arrayphp oci8 函数 returns the next row from a query as an associative arrayphp oci8 函数 returns the next row from a query as an objectphp oci8 函数 returns the next row from a query as a numeric arrayphp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp oci8 函数 分配新的 collection 对象php oci8 obsolete aliases and functions 别名 oci collection assignelemphp oci8 obsolete aliases and functions 别名 oci collection getelemphp oci8 obsolete aliases and functions 别名 oci collection maxphp oci8 obsolete aliases and functions 别名 oci collection sizephp oci8 obsolete aliases and functions 别名 oci collection trimphp oci8 obsolete aliases and functions 别名 oci collection freephp oci collection assigns a value to the collection from another existing collectionphp oci collection returns the maximum number of elements in the collectionphp oci collection returns size of the collectionphp oci collection trims elements from the end of the collectionphp oci lob appends data from the large object to another large objectphp oci lob tests for end of file on a large object s descriptor
关注编程学问公众号