Method ADT.Struct()->`[]() Method `[] Method `-> mixed res = ADT.Struct()[ item ] mixed res = ADT.Struct()->X Description The struct can be indexed by item name to get the associated value.