Home
last modified time | relevance | path

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

1234

/PHP-7.0/ext/spl/tests/
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 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)
43 return parent::offsetGet(str_rot13($offset));
68 echo "==== class with offsetGet() ====\n";
[all …]
H A DSplObjectStorage_offsetGet_invalid_parameter.phpt2 Check that SplObjectStorage::offsetGet generate a warning and return NULL when passed non-object pa…
23 var_dump($s->offsetGet($input));
28 Warning: SplObjectStorage::offsetGet() expects parameter 1 to be object, array given in %s on line …
31 Warning: SplObjectStorage::offsetGet() expects parameter 1 to be object, boolean given in %s on lin…
34 Warning: SplObjectStorage::offsetGet() expects parameter 1 to be object, %unicode_string_optional% …
37 Warning: SplObjectStorage::offsetGet() expects parameter 1 to be object, integer given in %s on lin…
40 Warning: SplObjectStorage::offsetGet() expects parameter 1 to be object, float given in %s on line …
43 Warning: SplObjectStorage::offsetGet() expects parameter 1 to be object, null given in %s on line %d
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'));
43 myArray::offsetGet(one)
46 myArray::offsetGet(two)
H A Dbug33136.phpt16 function offsetGet($index)
19 return parent::offsetGet($index);
55 Collection::offsetGet(0)
58 Collection::offsetGet(0)
60 Collection::offsetGet(1)
63 Collection::offsetGet(foo)
H A Dfixedarray_002.phpt13 public function offsetGet($n) {
14 echo "A::offsetGet\n";
15 return parent::offsetGet($n);
74 A::offsetGet
92 A::offsetGet
93 A::offsetGet
94 A::offsetGet
95 A::offsetGet
H A DSplDoublyLinkedList_offsetGet_empty.phpt2 SplDoublyLinkedList::offsetGet() with no parameter passed.
10 $get = $array->offsetGet();
14 Warning: SplDoublyLinkedList::offsetGet() expects exactly 1 parameter, 0 given in %s on line %d
H A DSplFixedArray_override_offsetGet_only.phpt2 Overriding SplFixedArray::offsetGet() only
7 public function offsetGet($key) {
8 return "prefix_" . parent::offsetGet($key);
H A DSplFixedArray_offsetGet_invalid_parameter.phpt2 SPL FixedArray offsetGet throws error on no parameter
9 $a = $array->offsetGet();
15 Warning: SplFixedArray::offsetGet() expects exactly 1 parameter, 0 given in %s on line %d
H A DSplDoublyLinkedList_offsetGet_missing_param.phpt2 Tests that the offsetGet() method throws an error when no argument is sent
11 var_dump($dll->offsetGet());
14 Warning: SplDoublyLinkedList::offsetGet() expects exactly 1 parameter, 0 given in %s on line %d
H A Dbug36825.phpt2 Bug #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
8 public function offsetGet($key)
29 foo::offsetGet(bar)
H A DSplObjectStorage_offsetGet.phpt2 Standard success for SplObjectStorage::offsetGet
12 echo $s->offsetGet($o1);
H A Diterator_044.phpt2 SPL: CachingIterator and offsetGet/Exists using flag FULL_CACHE
28 var_dump($this->offsetGet($v));
46 var_dump($it->offsetGet(0));
56 var_dump($it->offsetGet());
78 Warning: CachingIterator::offsetGet() expects exactly 1 parameter, 0 given in %siterator_044.php on…
93 Warning: CachingIterator::offsetGet() expects parameter 1 to be string, object given in %siterator_…
138 Warning: CachingIterator::offsetGet() expects parameter 1 to be string, object given in %siterator_…
H A DSplObjectStorage_offsetGet_missing_object.phpt2 Check that SplObjectStorage::offsetGet throws exception when non-existing object is requested
12 $s->offsetGet($o1);
H A DSplDoublyLinkedList_offsetGet_param_string.phpt2 SplDoublyLinkedList::offsetGet() with 1st parameter passed as string.
10 $get = $array->offsetGet( 'fail' );
/PHP-7.0/tests/classes/
H A Darray_access_001.phpt99 object::offsetGet(0)
102 object::offsetGet(1)
105 object::offsetGet(2)
127 ===offsetGet===
128 object::offsetGet(0)
130 object::offsetGet(1)
132 object::offsetGet(2)
140 object::offsetGet(6)
147 object::offsetGet(1)
159 object::offsetGet(6)
[all …]
H A Darray_access_002.phpt99 object::offsetGet(0)
102 object::offsetGet(1)
105 object::offsetGet(2)
127 ===offsetGet===
128 object::offsetGet(0)
130 object::offsetGet(1)
132 object::offsetGet(2)
140 object::offsetGet(6)
147 object::offsetGet(1)
159 object::offsetGet(6)
[all …]
H A Darray_access_003.phpt2 ZE2 ArrayAccess::offsetGet ambiguties
15 function offsetGet($index) {
50 object::offsetGet(1)
52 object::offsetGet(2)
54 object::offsetGet(2)
57 object::offsetGet(2)
H A Darray_access_004.phpt2 ZE2 ArrayAccess::offsetGet ambiguties
13 function offsetGet($index) {
48 object::offsetGet(1)
50 object::offsetGet(2)
52 object::offsetGet(2)
55 object::offsetGet(2)
H A Darray_access_010.phpt25 function offsetGet($index) {
55 function offsetGet($index)
125 ArrayReferenceProxy::offsetGet(Array, name)
130 ArrayReferenceProxy::offsetGet(Array, name)
135 ArrayReferenceProxy::offsetGet(Array, name)
138 ArrayReferenceProxy::offsetGet(Array, name)
141 ArrayReferenceProxy::offsetGet(Array, name)
161 ArrayReferenceProxy::offsetGet(Array, name)
166 ArrayReferenceProxy::offsetGet(Array, name)
H A Darray_access_009.phpt36 function offsetGet($index) {
67 function offsetGet($index)
148 ArrayProxy::offsetGet(0, name)
153 ArrayProxy::offsetGet(0, name)
158 ArrayProxy::offsetGet(0, name)
161 ArrayProxy::offsetGet(0, name)
164 ArrayProxy::offsetGet(0, name)
183 ArrayProxy::offsetGet(0, name)
188 ArrayProxy::offsetGet(0, name)
H A Darray_access_011.phpt27 function offsetGet($index) {
57 function offsetGet($index)
139 ArrayAccessReferenceProxy::offsetGet(0, name)
144 ArrayAccessReferenceProxy::offsetGet(0, name)
149 ArrayAccessReferenceProxy::offsetGet(0, name)
152 ArrayAccessReferenceProxy::offsetGet(0, name)
155 ArrayAccessReferenceProxy::offsetGet(0, name)
180 ArrayAccessReferenceProxy::offsetGet(0, name)
185 ArrayAccessReferenceProxy::offsetGet(0, name)
/PHP-7.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 Dbug39297.phpt26 public function offsetGet($offset) {
27 echo "offsetGet()\n";
44 offsetGet()

Completed in 28 milliseconds

1234