(PHP 5, PHP 7)
ArrayObject::offsetExists — Returns whether the requested index exists
index
The index being checked.
true
if the requested index exists, otherwise false
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/arrayobject.offsetexists.php