(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplFixedArray::offsetExists — Returns whether the requested index exists
$index
): bool
Checks whether the requested index index
exists.
index
The index being checked.
true
if the requested index
exists, otherwise false