Home
last modified time | relevance | path

Searched refs:offsetGet (Results 1 – 25 of 104) sorted by relevance

12345

/PHP-8.0/ext/spl/tests/
H A Dbug74058.phpt19 public function offsetGet($x)
21 echo "offsetGet('{$x}')\n";
22 return parent::offsetGet($x);
39 public function offsetGet($x)
41 echo "offsetGet('{$x}')\n";
63 offsetGet('a1')
66 offsetGet('a1')
67 offsetGet('a1')
73 offsetGet('a2')
76 offsetGet('a2')
[all …]
H A Dbug62059.phpt7 public function offsetGet($name) {
8 echo "offsetGet($name)\n";
9 return parent::offsetGet($name);
17 public function offsetGet($name) {
18 echo "offsetGet($name)\n";
19 return parent::offsetGet($name);
55 offsetGet(1)
58 offsetGet(1)
61 offsetGet(1)
63 offsetGet(1)
H A Dbug74478.phpt12 public function offsetGet($name) {
13 echo "offsetGet($name)\n";
14 return parent::offsetGet($name);
49 offsetGet(0)
52 offsetGet(0)
54 offsetGet(1)
58 offsetGet(0)
60 offsetGet(1)
H A Dbug32134.phpt2 Bug #32134 (Overloading offsetGet/offsetSet)
14 public function offsetGet($index)
19 return parent::offsetGet($index);
33 var_dump($myArray->offsetGet('one'));
41 myArray::offsetGet(one)
44 myArray::offsetGet(two)
H A Dbug66834.phpt6 // overrides both offsetExists and offsetGet
14 public function offsetGet($offset) {
16 return parent::offsetGet($offset);
29 // overrides only offsetGet
32 public function offsetGet($offset) {
34 return parent::offsetGet($offset);
38 // overrides only offsetGet and offsetSet
41 public function offsetGet($offset)
68 echo "==== class with offsetGet() ====\n";
135 ==== class with offsetGet() ====
[all …]
H A DSplFixedArray_offsetGet_integer.phpt2 Using SplFixedArray::offsetGet() with various types
12 var_dump($arr->offsetGet(0.2));
13 var_dump($arr->offsetGet(false));
14 var_dump($arr->offsetGet(true));
H A Dbug33136.phpt16 function offsetGet($index)
19 return parent::offsetGet($index);
53 Collection::offsetGet(0)
56 Collection::offsetGet(0)
58 Collection::offsetGet(1)
61 Collection::offsetGet(foo)
H A Dfixedarray_002.phpt13 public function offsetGet($n) {
14 echo "A::offsetGet\n";
15 return parent::offsetGet($n);
73 A::offsetGet
91 A::offsetGet
92 A::offsetGet
93 A::offsetGet
94 A::offsetGet
H A DSplFixedArray_override_offsetGet_only.phpt2 Overriding SplFixedArray::offsetGet() only
7 public function offsetGet($key) {
8 return "prefix_" . parent::offsetGet($key);
H A Dbug36825.phpt2 Bug #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
8 public function offsetGet($key)
28 foo::offsetGet(bar)
H A DSplDoublyLinkedList_offsetGet_param_array.phpt2 SplDoublyLinkedList::offsetGet() with 1st parameter passed as array.
10 $get = $array->offsetGet( array( 'fail' ) );
14 Fatal error: Uncaught TypeError: SplDoublyLinkedList::offsetGet(): Argument #1 ($index) must be of …
H A DSplDoublyLinkedList_offsetGet_param_string.phpt2 SplDoublyLinkedList::offsetGet() with 1st parameter passed as string.
10 $get = $array->offsetGet( 'fail' );
14 Fatal error: Uncaught TypeError: SplDoublyLinkedList::offsetGet(): Argument #1 ($index) must be of …
H A DSplObjectStorage_offsetGet.phpt2 Standard success for SplObjectStorage::offsetGet
12 echo $s->offsetGet($o1);
/PHP-8.0/tests/classes/
H A Darray_access_001.phpt47 echo "===offsetGet===\n";
98 ObjectOne::offsetGet(0)
101 ObjectOne::offsetGet(1)
104 ObjectOne::offsetGet(2)
126 ===offsetGet===
127 ObjectOne::offsetGet(0)
129 ObjectOne::offsetGet(1)
131 ObjectOne::offsetGet(2)
139 ObjectOne::offsetGet(6)
146 ObjectOne::offsetGet(1)
[all …]
H A Darray_access_002.phpt47 echo "===offsetGet===\n";
98 ObjectOne::offsetGet(0)
101 ObjectOne::offsetGet(1)
104 ObjectOne::offsetGet(2)
126 ===offsetGet===
127 ObjectOne::offsetGet(0)
129 ObjectOne::offsetGet(1)
131 ObjectOne::offsetGet(2)
139 ObjectOne::offsetGet(6)
146 ObjectOne::offsetGet(1)
[all …]
H A Darray_access_003.phpt2 ZE2 ArrayAccess::offsetGet ambiguties
15 function offsetGet($index) {
49 ObjectOne::offsetGet(1)
51 ObjectOne::offsetGet(2)
53 ObjectOne::offsetGet(2)
56 ObjectOne::offsetGet(2)
H A Darray_access_004.phpt2 ZE2 ArrayAccess::offsetGet ambiguties
13 function offsetGet($index) {
47 ObjectOne::offsetGet(1)
49 ObjectOne::offsetGet(2)
51 ObjectOne::offsetGet(2)
54 ObjectOne::offsetGet(2)
H A Darray_access_010.phpt25 function offsetGet($index) {
55 function offsetGet($index)
123 ArrayReferenceProxy::offsetGet(Array, name)
128 ArrayReferenceProxy::offsetGet(Array, name)
133 ArrayReferenceProxy::offsetGet(Array, name)
136 ArrayReferenceProxy::offsetGet(Array, name)
139 ArrayReferenceProxy::offsetGet(Array, name)
159 ArrayReferenceProxy::offsetGet(Array, name)
164 ArrayReferenceProxy::offsetGet(Array, name)
H A Darray_access_009.phpt36 function offsetGet($index) {
67 function offsetGet($index)
147 ArrayProxy::offsetGet(0, name)
152 ArrayProxy::offsetGet(0, name)
157 ArrayProxy::offsetGet(0, name)
160 ArrayProxy::offsetGet(0, name)
163 ArrayProxy::offsetGet(0, name)
182 ArrayProxy::offsetGet(0, name)
187 ArrayProxy::offsetGet(0, name)
H A Darray_access_011.phpt27 function offsetGet($index) {
57 function offsetGet($index)
137 ArrayAccessReferenceProxy::offsetGet(0, name)
142 ArrayAccessReferenceProxy::offsetGet(0, name)
147 ArrayAccessReferenceProxy::offsetGet(0, name)
150 ArrayAccessReferenceProxy::offsetGet(0, name)
153 ArrayAccessReferenceProxy::offsetGet(0, name)
178 ArrayAccessReferenceProxy::offsetGet(0, name)
183 ArrayAccessReferenceProxy::offsetGet(0, name)
/PHP-8.0/Zend/tests/
H A Dbug71731.phpt12 public function &offsetGet($name) {
13 echo "offsetGet($name)\n";
51 offsetGet(0)
54 offsetGet(0)
56 offsetGet(1)
60 offsetGet(0)
62 offsetGet(1)
H A Dassign_coalesce_003.phpt16 public function &offsetGet($k) {
17 echo "offsetGet($k)\n";
52 offsetGet(foo)
58 offsetGet(null)
62 offsetGet(foo)
64 offsetGet(foo)
68 offsetGet(foo)
70 offsetGet(bar)
H A Dbug63217.phpt22 public function offsetGet($offset) {
23 echo "offsetGet given ";
97 offsetGet given string(1) "0"
98 offsetGet given string(3) "123"
105 offsetGet given string(1) "0"
106 offsetGet given string(3) "123"
H A Dbug39297.phpt26 public function offsetGet($offset) {
27 echo "offsetGet()\n";
44 offsetGet()
H A Dbug76901.phpt9 if (method_exists($it, 'offsetGet')) {
10 var_dump($it->offsetGet(0));

Completed in 205 milliseconds

12345