Offset to retrieve

ArrayAccess::offsetExists
ArrayAccess::offsetSet
ArrayAccess
PHP Manual

# ArrayAccess::offsetGet

(PHP 5 >= 5.1.0)

ArrayAccess::offsetGet — Offset to retrieve

### Description

abstract public mixed ArrayAccess::offsetGet ( mixed `$offset` )

Returns the value at specified offset.

This method is executed when checking if offset is empty().

### Parameters

`offset`

  The offset to retrieve.

### Return Values

Can return all value types.

### See Also

- ArrayAccess::offsetExists - Whether a offset exists

ArrayAccess::offsetExists
ArrayAccess::offsetSet
ArrayAccess
PHP Manual