/php-src/ext/spl/tests/ |
H A D | bug32134.phpt | 2 Bug #32134 (Overloading offsetGet/offsetSet) 22 public function offsetSet($index, $newval): void 25 parent::offsetSet($index, $newval); 32 $myArray->offsetSet('one', 'one'); 40 myArray::offsetSet(one,one) 43 myArray::offsetSet(two,two)
|
H A D | bug74058.phpt | 13 public function offsetSet($x, $v): void 15 echo "offsetSet('{$x}')\n"; 16 parent::offsetSet($x, $v); 33 public function offsetSet($x, $v): void 35 echo "offsetSet('{$x}')\n"; 36 parent::offsetSet($x, $v); 62 offsetSet('a1') 72 offsetSet('a2')
|
H A D | fixedarray_002.phpt | 17 public function offsetSet($n, $v): void { 18 echo "A::offsetSet\n"; 19 parent::offsetSet($n, $v); 71 A::offsetSet 77 A::offsetSet 78 A::offsetSet 79 A::offsetSet 80 A::offsetSet 81 A::offsetSet
|
H A D | bug33136.phpt | 2 Bug #33136 (method offsetSet in class extended from ArrayObject crash PHP) 22 function offsetSet($index, $value): void 25 parent::offsetSet($index, $value); 52 Collection::offsetSet(NULL,foo) 55 Collection::offsetSet(NULL,bar) 60 Collection::offsetSet(foo,baz)
|
H A D | bug74478.phpt | 16 public function offsetSet($name, $value): void { 17 echo "offsetSet($name)\n"; 18 parent::offsetSet($name, $value); 48 offsetSet(0) 50 offsetSet(1)
|
H A D | bug71735.phpt | 2 Bug #71735 (Double-free in SplDoublyLinkedList::offsetSet) 7 $var_1->offsetSet(100,new DateTime('2000-01-01')); 13 SplDoublyLinkedList::offsetSet(): Argument #1 ($index) is out of range
|
H A D | SplFixedArray_setSize_destruct.phpt | 2 SplFixedArray::setSize in offsetSet destructor (#81429) 6 $values->offsetSet(0, new HasDestructor()); 7 $values->offsetSet(0, false); 21 $values->offsetSet(4, new HasDestructor());
|
H A D | bug31185.phpt | 17 public function offsetSet($index, $value): void { 46 FooBar::offsetSet(0, 0) 47 FooBar::offsetSet(1, 1) 48 FooBar::offsetSet(2, 2)
|
H A D | bug77903.phpt | 2 Bug #77903: ArrayIterator stops iterating after offsetSet call 9 $a->offsetSet(1,1); 15 $a->offsetSet(4,4); 24 $a->offsetSet(2,2);
|
H A D | bug46160.phpt | 2 Bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method) 8 $x->offsetSet(0, 0);
|
H A D | array_018.phpt | 9 $foo->offsetSet("\0", "Foo"); 22 $foo->offsetSet($data[0], $data[1]);
|
H A D | bug40872.phpt | 2 Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers) 15 $this->offsetSet($item->id, $item);
|
/php-src/Zend/tests/ |
H A D | argument_restriction_005.phpt | 6 public function offsetSet(): void { 11 Fatal error: Declaration of Sub::offsetSet(): void must be compatible with ArrayAccess::offsetSet(m…
|
H A D | assign_coalesce_003.phpt | 24 public function offsetSet($k,$v): void { 25 echo "offsetSet($k,$v)\n"; 55 offsetSet(bar,foo) 59 offsetSet(null,baz) 65 offsetSet(bar,abc)
|
H A D | bug32252.phpt | 2 Bug #32252 (Segfault when offsetSet throws an Exception (only without debug)) 20 function offsetSet($offset, $value): void 44 Test::offsetSet(-1, 123)
|
H A D | bug71731.phpt | 19 public function offsetSet($name, $value): void { 20 echo "offsetSet($name)\n"; 50 offsetSet(0) 52 offsetSet(1)
|
H A D | bug63217.phpt | 19 public function offsetSet($offset, $value): void { 20 echo "offsetSet given "; 97 offsetSet given string(1) "0" 98 offsetSet given string(3) "123" 105 offsetSet given string(1) "0" 106 offsetSet given string(3) "123"
|
H A D | bug39297.phpt | 19 public function offsetSet($offset, $value): void { 20 echo "offsetSet()\n"; 43 offsetSet()
|
/php-src/ext/opcache/tests/jit/ |
H A D | assign_dim_004.phpt | 12 function offsetSet($x, $y): void { 13 echo "offsetSet($x, $y)\n"; 25 offsetSet(, 1)
|
/php-src/tests/classes/ |
H A D | array_access_002.phpt | 2 ZE2 ArrayAccess::offsetSet without return 17 function offsetSet($index, $newval): void { 55 echo "===offsetSet===\n"; 143 ===offsetSet=== 145 ObjectOne::offsetSet(1,Changed 1) 149 ObjectOne::offsetSet(4th,Changed 4th) 153 ObjectOne::offsetSet(5th,Added 5th) 157 ObjectOne::offsetSet(6,Added 6) 164 ObjectOne::offsetSet(6,changed 6)
|
H A D | array_access_001.phpt | 17 function offsetSet($index, $newval): void { 55 echo "===offsetSet===\n"; 143 ===offsetSet=== 145 ObjectOne::offsetSet(1,Changed 1) 149 ObjectOne::offsetSet(4th,Changed 4th) 153 ObjectOne::offsetSet(5th,Added 5th) 157 ObjectOne::offsetSet(6,Added 6) 164 ObjectOne::offsetSet(6,changed 6)
|
H A D | array_access_010.phpt | 30 function offsetSet($index, $value): void { 60 function offsetSet($index, $value): void 126 ArrayReferenceProxy::offsetSet(Array, name, FooBar) 131 ArrayReferenceProxy::offsetSet(Array, name, FooBarBar) 137 ArrayReferenceProxy::offsetSet(Array, name, FooBarBarBaz) 162 ArrayReferenceProxy::offsetSet(Array, name, BlaBla)
|
H A D | array_access_009.phpt | 42 function offsetSet($index, $value): void { 72 function offsetSet($index, $value): void 150 ArrayProxy::offsetSet(0, name, FooBar) 155 ArrayProxy::offsetSet(0, name, FooBarBar) 161 ArrayProxy::offsetSet(0, name, FooBarBarBaz) 185 ArrayProxy::offsetSet(0, name, BlaBla)
|
H A D | array_access_011.phpt | 32 function offsetSet($index, $value): void { 69 function offsetSet($index, $value): void 140 ArrayAccessReferenceProxy::offsetSet(0, name, FooBar) 145 ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBar) 151 ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBarBaz) 181 ArrayAccessReferenceProxy::offsetSet(0, name, BlaBla)
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_065.phpt | 11 function offsetSet($o, $v): void { print "offsetSet($v)\n"; } 56 offsetSet(2) 58 offsetSet(11) 60 offsetSet(1e50)
|