ArrayObject::offsetExists Returns whether the requested index exists &reftitle.description; public boolArrayObject::offsetExists mixedkey &reftitle.parameters; key The index being checked. &reftitle.returnvalues; &true; if the requested index exists, otherwise &false; &reftitle.examples; <methodname>ArrayObject::offsetExists</methodname> example 'e.g.')); var_dump($arrayobj->offsetExists(1)); var_dump($arrayobj->offsetExists('example')); var_dump($arrayobj->offsetExists('notfound')); ?> ]]> &example.outputs;