Lines Matching refs:offsetGet
6 // overrides both offsetExists and offsetGet
14 public function offsetGet($offset): mixed {
16 return parent::offsetGet($offset);
29 // overrides only offsetGet
32 public function offsetGet($offset): mixed {
34 return parent::offsetGet($offset);
38 // overrides only offsetGet and offsetSet
41 public function offsetGet($offset): mixed
43 return parent::offsetGet(str_rot13($offset));
54 echo "==== class with offsetExists() and offsetGet() ====\n";
68 echo "==== class with offsetGet() ====\n";
75 echo "==== class with offsetGet() and offsetSet() ====\n";
82 ==== class with offsetExists() and offsetGet() ====
86 string(34) "Called: ArrayObjectBoth::offsetGet"
93 string(34) "Called: ArrayObjectBoth::offsetGet"
100 string(34) "Called: ArrayObjectBoth::offsetGet"
135 ==== class with offsetGet() ====
136 string(33) "Called: ArrayObjectGet::offsetGet"
140 string(33) "Called: ArrayObjectGet::offsetGet"
144 string(33) "Called: ArrayObjectGet::offsetGet"
151 ==== class with offsetGet() and offsetSet() ====