PHP TypeLang Help

Type Offsets

To specify a reference to a specific shape or array element, the offset access syntax is used.

A description of this type consists of two parts: Arbitrary type description; The type of specific element, enclosed in square [] brackets.

Offsets can be chained with each other and with the list syntax: each next suffix applies to the result of the previous one.

10 November 2026