ArrayAccess
PHP 手册

ArrayAccess::offsetGet

(No version information available, might be only in CVS)

ArrayAccess::offsetGetOffset to retrieve

说明

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

Returns the value at specified offset.

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

参数

offset

The offset to retrieve.

返回值

Can return all value types.

参见


ArrayAccess
PHP 手册