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;
ArrayObject::offsetExists example
'e.g.'));
var_dump($arrayobj->offsetExists(1));
var_dump($arrayobj->offsetExists('example'));
var_dump($arrayobj->offsetExists('notfound'));
?>
]]>
&example.outputs;