php8.5
Home/ Manual/ oci8 / ocicollection/ OCICollection::max

OCICollection::max

PHP function Edit on GitHub ✎

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

Returns the maximum number of elements in the collection

Description

OCICollection::max(): int|false

Returns the maximum number of elements in the collection.

Parameters Parameters

Return Values

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.

Changelog

VersionDescription
8.0.0, PECL OCI8 3.0.0The OCI-Collection class was renamed to OCICollection to align with PHP naming standards.

See Also

Source: reference/oci8/ocicollection/max.xml · from the official PHP manual (php/doc-en)