Home
last modified time | relevance | path

Searched refs:offsetSet (Results 1 – 25 of 89) sorted by relevance

1234

/PHP-7.3/ext/spl/tests/
H A Dbug32134.phpt2 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 Dbug74058.phpt13 public function offsetSet($x, $v)
15 echo "offsetSet('{$x}')\n";
16 return parent::offsetSet($x, $v);
33 public function offsetSet($x, $v)
35 echo "offsetSet('{$x}')\n";
36 return parent::offsetSet($x, $v);
62 offsetSet('a1')
72 offsetSet('a2')
H A Dfixedarray_002.phpt17 public function offsetSet($n, $v) {
18 echo "A::offsetSet\n";
19 return parent::offsetSet($n, $v);
72 A::offsetSet
78 A::offsetSet
79 A::offsetSet
80 A::offsetSet
81 A::offsetSet
82 A::offsetSet
H A Dbug33136.phpt2 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 Dbug74478.phpt16 public function offsetSet($name, $value) {
17 echo "offsetSet($name)\n";
18 return parent::offsetSet($name, $value);
48 offsetSet(0)
50 offsetSet(1)
H A DSplDoublyLinkedList_offsetSet_invalid_parameter.phpt2 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 DSplDoublyLinkedList_offsetSet_one_invalid_parameter.phpt2 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 DSplFixedArray_offsetSet_invalid_parameter.phpt2 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 DSplFixedArray_offsetSet_one_invalid_parameter.phpt2 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 Dbug31185.phpt17 public function offsetSet($index, $value) {
47 FooBar::offsetSet(0, 0)
48 FooBar::offsetSet(1, 1)
49 FooBar::offsetSet(2, 2)
H A Diterator_045.phpt2 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 Dbug77903.phpt2 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 Dbug46160.phpt2 Bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method)
8 $x->offsetSet(0, 0);
H A Dbug71735.phpt2 Bug #71735 (Double-free in SplDoublyLinkedList::offsetSet)
7 $var_1->offsetSet(100,new DateTime('2000-01-01'));
H A Darray_018.phpt9 $foo->offsetSet("\0", "Foo");
22 $foo->offsetSet($data[0], $data[1]);
H A Dbug40872.phpt2 Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers)
15 $this->offsetSet($item->id, $item);
/PHP-7.3/Zend/tests/
H A Dargument_restriction_005.phpt6 public function offsetSet() {
11 Fatal error: Declaration of Sub::offsetSet() must be compatible with ArrayAccess::offsetSet($offset…
H A Dbug71731.phpt19 public function offsetSet($name, $value) {
20 echo "offsetSet($name)\n";
50 offsetSet(0)
52 offsetSet(1)
H A Dbug63217.phpt18 public function offsetSet($offset, $value) {
19 echo "offsetSet given ";
95 offsetSet given string(1) "0"
96 offsetSet given string(3) "123"
103 offsetSet given string(1) "0"
104 offsetSet given string(3) "123"
H A Dbug32252.phpt2 Bug #32252 (Segfault when offsetSet throws an Exception (only without debug))
20 function offsetSet($offset, $value)
45 Test::offsetSet(-1, 123)
H A Dbug39297.phpt19 public function offsetSet($offset, $value) {
20 echo "offsetSet()\n";
43 offsetSet()
/PHP-7.3/tests/classes/
H A Darray_access_002.phpt2 ZE2 ArrayAccess::offsetSet without return
17 function offsetSet($index, $newval) {
55 echo "===offsetSet===\n";
144 ===offsetSet===
146 ObjectOne::offsetSet(1,Changed 1)
150 ObjectOne::offsetSet(4th,Changed 4th)
154 ObjectOne::offsetSet(5th,Added 5th)
158 ObjectOne::offsetSet(6,Added 6)
165 ObjectOne::offsetSet(6,changed 6)
H A Darray_access_001.phpt17 function offsetSet($index, $newval) {
55 echo "===offsetSet===\n";
144 ===offsetSet===
146 ObjectOne::offsetSet(1,Changed 1)
150 ObjectOne::offsetSet(4th,Changed 4th)
154 ObjectOne::offsetSet(5th,Added 5th)
158 ObjectOne::offsetSet(6,Added 6)
165 ObjectOne::offsetSet(6,changed 6)
H A Darray_access_010.phpt30 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)
/PHP-7.3/ext/spl/examples/
H A Dclass_tree.php44 $this->offsetSet($cname, new SubClasses($cname));
58 $this->offsetSet($cname, new SubClasses($cname));
72 $this->offsetSet($cname, new SubClasses($cname, true));

Completed in 56 milliseconds

1234