Home
last modified time | relevance | path

Searched refs:current (Results 101 – 125 of 677) sorted by relevance

12345678910>>...28

/PHP-7.3/ext/spl/internal/
H A Drecursivearrayiterator.inc32 /** @return whether the current element has children
36 return is_array($this->current());
39 /** @return an iterator for the current elements children
45 if ($this->current() instanceof self)
47 return $this->current();
53 return $this->ref->newInstance($this->current());
/PHP-7.3/ext/spl/tests/
H A Dbug45614.phpt15 echo str_replace("\0", '\0', $it->key()) . " => " . $it->current() .
18 echo str_replace("\0", '\0', $it->key()) . " => " . $it->current() .
32 echo "\n--> Invalidate current position and show the first two items:\n";
34 $ai->current();
51 --> Invalidate current position and show the first two items:
H A DSplFileObject_rewind_variation001.phpt16 echo $s->current();
18 echo $s->current();
22 echo $s->current();
H A Dobserver_002.phpt26 function current()
28 echo __METHOD__ . "(" . parent::current()->getName() . ")\n";
29 return parent::current();
153 MyObjectStorage::current($ob1)
158 MyObjectStorage::current($ob2)
163 MyObjectStorage::current($ob3)
173 MyObjectStorage::current($ob1)
178 MyObjectStorage::current($ob2)
194 MyObjectStorage::current($ob3)
H A Dbug42703.phpt2 Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator)
15 public function current()
35 var_dump($itit->current());
H A Diterator_002.phpt10 return is_array($this->current());
15 return new RecursiceArrayIterator($this->current());
33 return new RecursiceArrayIterator($this->getInnerIterator()->current());
/PHP-7.3/ext/standard/tests/array/
H A Dbug35022.phpt2 Bug #35022 (Regression in the behavior of key/current functions)
9 echo key($state) . " => " . current($state) . "\n";
14 var_dump( key($state), current($state) );
H A Dreset_variation3.phpt20 var_dump(current($array1));
30 var_dump(current($array1));
32 var_dump(current($array2));
37 var_dump(current($array1));
39 var_dump(current($array2));
H A D009.phpt2 Test key(), current(), next() & reset() functions
7 mixed current ( array &$array ) -> returns the current element in the array
41 var_dump( current($sub_array)); // current element
42 var_dump( key($sub_array) ); // key of the current element
61 var_dump( current($sub_array)); // current element
77 var_dump( current($unset_array) );
86 var_dump( current() );
93 var_dump( current($temp_array, $temp_array) );
105 var_dump( current($int_var) );
106 var_dump( current($float_var) );
[all …]
/PHP-7.3/ext/date/tests/
H A DDateTimeImmutable_createFromMutable.phpt7 $current = "2014-03-02 16:24:08";
9 $i = DateTimeImmutable::createFromMutable( date_create( $current ) );
12 $i = DateTimeImmutable::createFromMutable( date_create_immutable( $current ) );
H A DDatePeriod_properties1.phpt22 echo "current: ";
23 var_dump($period->current);
35 current: NULL
/PHP-7.3/ext/standard/tests/strings/
H A Dstristr_variation2.phpt87 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
91 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
95 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
99 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
103 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
107 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
111 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
127 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
131 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
135 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
[all …]
H A Dstripos_variation10.phpt99 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
104 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
109 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
114 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
119 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
124 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
129 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
134 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
139 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
169 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
[all …]
H A Dstripos_variation11.phpt95 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
98 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
102 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
105 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
109 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
112 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
116 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
119 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
123 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
126 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on…
[all …]
/PHP-7.3/Zend/tests/
H A Dforeach_003.phpt24 function current() {$this->trap(__FUNCTION__); return $this->n;}
28 foreach(['rewind', 'valid', 'key', 'current', 'next'] as $trap) {
63 current
64 current
65 current
H A Dbug32993.phpt2 Bug #32993 (implemented Iterator function current() don't throw exception)
10 public function current() { throw new Exception(); }
13 public function valid() { return (current($this->arr) !== false); }
/PHP-7.3/ext/dom/tests/
H A Ddom_comment_variation.phpt22 $current = $children->item($index);
23 echo get_class($current), "\n";
24 var_dump($current->textContent);
H A Ddom_comment_basic.phpt25 $current = $children->item($index);
26 echo get_class($current), "\n";
27 var_dump($current->textContent);
/PHP-7.3/Zend/
H A Dzend_gc.c974 while (current != last) { in gc_mark_roots()
981 current++; in gc_mark_roots()
1121 while (current != last) { in gc_scan_roots()
1128 current++; in gc_scan_roots()
1315 while (current != last) { in gc_collect_roots()
1322 current++; in gc_collect_roots()
1333 ref = current->ref; in gc_collect_roots()
1507 current++; in zend_gc_collect_cycles()
1548 current++; in zend_gc_collect_cycles()
1598 current++; in zend_gc_collect_cycles()
[all …]
/PHP-7.3/ext/phar/tests/
H A Dphar_buildfromiterator3.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
/PHP-7.3/ext/spl/
H A Dspl_dllist.c155 while (current) { in spl_ptr_llist_destroy()
158 dtor(current); in spl_ptr_llist_destroy()
161 current = next; in spl_ptr_llist_destroy()
183 current = current->prev; in spl_ptr_llist_offset()
185 current = current->next; in spl_ptr_llist_offset()
189 return current; in spl_ptr_llist_offset()
329 while (current) { in spl_ptr_llist_copy()
339 current = next; in spl_ptr_llist_copy()
519 while (current) { in spl_dllist_object_get_debug_info()
528 current = next; in spl_dllist_object_get_debug_info()
[all …]
/PHP-7.3/ext/oci8/tests/
H A Dedition_2.phpt167 The value of current EDITION is ORA$BASE
173 The value of current EDITION is MYEDITION
175 The value of current EDITION is MYEDITION
177 The value of current EDITION is MYEDITION
178 The value of current EDITION is MYEDITION
183 The value of current EDITION is MYEDITION
184 The value of current EDITION is MYEDITION
200 The value of current EDITION is ORA$BASE
229 The value of current EDITION is MYEDITION
234 The value of current EDITION is MYEDITION
[all …]
/PHP-7.3/ext/intl/common/
H A Dcommon_enum.cpp62 return Z_ISUNDEF(((zoi_with_current*)iter)->current)? FAILURE : SUCCESS; in zoi_with_current_valid()
67 return &((zoi_with_current*)iter)->current; in zoi_with_current_get_current_data()
73 if (!Z_ISUNDEF(zoi_iter->current)) { in zoi_with_current_invalidate_current()
74 zval_ptr_dtor(&zoi_iter->current); in zoi_with_current_invalidate_current()
75 ZVAL_UNDEF(&zoi_iter->current); //valid would return FAILURE now in zoi_with_current_invalidate_current()
98 ZVAL_STRINGL(&zoi_iter->current, result, result_length); in string_enum_current_move_forward()
107 if (!Z_ISUNDEF(zoi_iter->current)) { in string_enum_rewind()
152 ZVAL_UNDEF(&((zoi_with_current*)ii->iterator)->current); in IntlIterator_from_StringEnumeration()
208 static PHP_METHOD(IntlIterator, current) in PHP_METHOD() argument
299 PHP_ME(IntlIterator, current, ainfo_se_void, ZEND_ACC_PUBLIC)
/PHP-7.3/ext/standard/
H A Dscanf.c585 zval *current; in php_sscanf_internal() local
742 current = Z_REFVAL(args[objIndex++]); in php_sscanf_internal()
743 zval_ptr_dtor(current); in php_sscanf_internal()
862 zval_ptr_dtor(current); in php_sscanf_internal()
903 zval_ptr_dtor(current); in php_sscanf_internal()
1057 zval_ptr_dtor(current); in php_sscanf_internal()
1058 ZVAL_STRING(current, buf); in php_sscanf_internal()
1067 zval_ptr_dtor(current); in php_sscanf_internal()
1068 ZVAL_LONG(current, value); in php_sscanf_internal()
1172 zval_ptr_dtor(current); in php_sscanf_internal()
[all …]
/PHP-7.3/ext/posix/tests/
H A Dposix_getsid.phpt4 Get the current session id of a process pid (POSIX.1, 4.2.1)
18 echo "\n-- Testing posix_getsid() function with current process pid --\n";
26 -- Testing posix_getsid() function with current process pid --

Completed in 55 milliseconds

12345678910>>...28