/PHP-5.5/ext/spl/tests/ |
H A D | bug32134.phpt | 2 Bug #32134 (Overloading offsetGet/offsetSet) 22 public function offsetSet($index, $newval) 25 return parent::offsetSet($index, $newval); 32 $myArray->offsetSet('one', 'one'); 42 myArray::offsetSet(one,one) 45 myArray::offsetSet(two,two)
|
H A D | fixedarray_002.phpt | 14 public function offsetSet($n, $v) { 15 echo "A::offsetSet\n"; 16 return parent::offsetSet($n, $v); 69 A::offsetSet 75 A::offsetSet 76 A::offsetSet 77 A::offsetSet 78 A::offsetSet 79 A::offsetSet
|
H A D | bug33136.phpt | 2 Bug #33136 (method offsetSet in class extended from ArrayObject crash PHP) 22 function offsetSet($index, $value) 25 parent::offsetSet($index, $value); 54 Collection::offsetSet(NULL,foo) 57 Collection::offsetSet(NULL,bar) 62 Collection::offsetSet(foo,baz)
|
H A D | SplDoublyLinkedList_offsetSet_invalid_parameter.phpt | 2 SplDoublyLinkedList offsetSet throws error on no parameters 8 $a = $list->offsetSet(); 14 Warning: SplDoublyLinkedList::offsetSet() expects exactly 2 parameters, 0 given in %s on line %d
|
H A D | SplDoublyLinkedList_offsetSet_one_invalid_parameter.phpt | 2 SplDoublyLinkedList offsetSet throws error only one parameter 8 $a = $list->offsetSet(2); 14 Warning: SplDoublyLinkedList::offsetSet() expects exactly 2 parameters, 1 given in %s on line %d
|
H A D | SplFixedArray_offsetSet_invalid_parameter.phpt | 2 SPL FixedArray offsetSet throws error on no parameters 8 $a = $array->offsetSet(); 14 Warning: SplFixedArray::offsetSet() expects exactly 2 parameters, 0 given in %s on line %d
|
H A D | SplFixedArray_offsetSet_one_invalid_parameter.phpt | 2 SPL FixedArray offsetSet throws error only one parameter 8 $a = $array->offsetSet(2); 14 Warning: SplFixedArray::offsetSet() expects exactly 2 parameters, 1 given in %s on line %d
|
H A D | bug31185.phpt | 17 public function offsetSet($index, $value) { 47 FooBar::offsetSet(0, 0) 48 FooBar::offsetSet(1, 1) 49 FooBar::offsetSet(2, 2)
|
H A D | iterator_045.phpt | 2 SPL: CachingIterator and offsetSet/Unset, getCache using flag FULL_CACHE 27 $this->offsetSet($k, $v); 58 var_dump($it->offsetSet(0, 0)); 76 var_dump($it->offsetSet()); 77 var_dump($it->offsetSet(0)); 101 Warning: CachingIterator::offsetSet() expects exactly 2 parameters, 0 given in %siterator_045.php o… 104 Warning: CachingIterator::offsetSet() expects exactly 2 parameters, 1 given in %siterator_045.php o…
|
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);
|
H A D | bug34548.phpt | 13 public function offsetSet($index, $value) 15 parent::offsetSet($index, $value);
|
H A D | bug40442.phpt | 6 $a->offsetSet('property', 0);
|
H A D | bug53362.phpt | 7 public function offsetSet($offset, $value) {
|
/PHP-5.5/Zend/tests/ |
H A D | argument_restriction_005.phpt | 6 public function offsetSet() { 11 Fatal error: Declaration of Sub::offsetSet() must be compatible with ArrayAccess::offsetSet($offset…
|
H A D | bug32252.phpt | 2 Bug #32252 (Segfault when offsetSet throws an Exception (only without debug)) 20 function offsetSet($offset, $value) 45 Test::offsetSet(-1, 123)
|
H A D | bug39297.phpt | 19 public function offsetSet($offset, $value) { 20 echo "offsetSet()\n"; 43 offsetSet()
|
/PHP-5.5/tests/classes/ |
H A D | array_access_002.phpt | 2 ZE2 ArrayAccess::offsetSet without return 17 function offsetSet($index, $newval) { 55 echo "===offsetSet===\n"; 144 ===offsetSet=== 146 object::offsetSet(1,Changed 1) 150 object::offsetSet(4th,Changed 4th) 154 object::offsetSet(5th,Added 5th) 158 object::offsetSet(6,Added 6) 165 object::offsetSet(6,changed 6)
|
H A D | array_access_001.phpt | 17 function offsetSet($index, $newval) { 55 echo "===offsetSet===\n"; 144 ===offsetSet=== 146 object::offsetSet(1,Changed 1) 150 object::offsetSet(4th,Changed 4th) 154 object::offsetSet(5th,Added 5th) 158 object::offsetSet(6,Added 6) 165 object::offsetSet(6,changed 6)
|
H A D | array_access_010.phpt | 30 function offsetSet($index, $value) { 60 function offsetSet($index, $value) 128 ArrayReferenceProxy::offsetSet(Array, name, FooBar) 133 ArrayReferenceProxy::offsetSet(Array, name, FooBarBar) 139 ArrayReferenceProxy::offsetSet(Array, name, FooBarBarBaz) 164 ArrayReferenceProxy::offsetSet(Array, name, BlaBla)
|
H A D | array_access_009.phpt | 42 function offsetSet($index, $value) { 72 function offsetSet($index, $value) 151 ArrayProxy::offsetSet(0, name, FooBar) 156 ArrayProxy::offsetSet(0, name, FooBarBar) 162 ArrayProxy::offsetSet(0, name, FooBarBarBaz) 186 ArrayProxy::offsetSet(0, name, BlaBla)
|
H A D | array_access_011.phpt | 32 function offsetSet($index, $value) { 69 function offsetSet($index, $value) 142 ArrayAccessReferenceProxy::offsetSet(0, name, FooBar) 147 ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBar) 153 ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBarBaz) 183 ArrayAccessReferenceProxy::offsetSet(0, name, BlaBla)
|
H A D | array_access_013.phpt | 10 public function offsetSet($offset, $data ) { throw new Exception(__METHOD__); } 56 Caught in Test::offsetSet()
|
/PHP-5.5/ext/spl/examples/ |
H A D | class_tree.php | 44 $this->offsetSet($cname, new SubClasses($cname)); 58 $this->offsetSet($cname, new SubClasses($cname)); 72 $this->offsetSet($cname, new SubClasses($cname, true));
|