- PHP 手册
- 函数参考
- 数据库扩展
- 针对各数据库系统对应的扩展
- OCI8
- OCICollection
OCICollection::max
(PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0)
OCICollection::max — Returns the maximum number of elements in the collection
说明
public OCICollection::max(): int|falseReturns the maximum number of elements in the collection.
参数
此函数没有参数。
返回值
Returns the maximum number as an integer, or false
on errors.
If the returned value is 0, then the number of elements is not limited.
更新日志
版本 | 说明 |
---|---|
8.0.0, PECL OCI8 3.0.0 | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. |
参见
- OCICollection::size
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/ocicollection.max.php