ArrayAccess::offsetExists
Whether an offset exists
&reftitle.description;
public boolArrayAccess::offsetExists
mixedoffset
Whether or not an offset exists.
This method is executed when using isset or
empty on objects implementing ArrayAccess.
When using empty ArrayAccess::offsetGet will
be called and checked if empty only if ArrayAccess::offsetExists
returns &true;.
&reftitle.parameters;
offset
An offset to check for.
&reftitle.returnvalues;
&return.success;
The return value will be casted to bool if non-boolean was returned.
&reftitle.examples;
ArrayAccess::offsetExists example
]]>
&example.outputs.similar;