Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-8.1/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 Dcurrent_variation2.phpt2 Test current() function : usage variations - arrays containing different data types
6 * Pass arrays of different data types as $array_arg to current() to test behaviour
9 echo "*** Testing current() : usage variations ***\n";
102 // loop through each element of $inputs to check the behavior of current()
106 var_dump( current($input) );
113 *** Testing current() : usage variations ***
H A Dnext_basic.phpt12 echo key($array) . " => " . current($array) . "\n";
15 echo key($array) . " => " . current($array) . "\n";
18 echo key($array) . " => " . current($array) . "\n";
/PHP-8.1/Zend/tests/generators/
H A Dbacktrace_multi_yield_from.phpt19 var_dump($gen3->current());
21 var_dump($gen2->current());
23 var_dump($gen2->current());
/PHP-8.1/ext/date/tests/
H A DDateTimeImmutable_createFromMutable-001.phpt7 $current = "2014-03-02 16:24:08";
9 $i = DateTimeImmutable::createFromMutable( date_create( $current ) );
13 DateTimeImmutable::createFromMutable( date_create_immutable( $current ) );
H A DDateTimeImmutable_createFromMutable-002.phpt9 $current = "2014-03-02 16:24:08";
11 $i = MyDateTimeImmutable::createFromMutable( date_create( $current ) );
15 MyDateTimeImmutable::createFromMutable( date_create_immutable( $current ) );
H A DDatePeriod_properties1.phpt22 echo "current: ";
23 var_dump($period->current);
35 current: NULL
/PHP-8.1/Zend/tests/
H A Dbug79927.phpt17 echo $generator->current(), "\n";
23 $generator2->current();
25 echo $generator2->current(), "\n";
H A Dforeach_003.phpt24 function current(): mixed {$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(): mixed { throw new Exception(); }
13 public function valid(): bool { return (current($this->arr) !== false); }
H A Dtentative_type_early_binding.phpt7 function current(): Unknown {}
13 … error: Could not check compatibility between Test::current(): Unknown and SplObjectStorage::curre…
/PHP-8.1/ext/spl/tests/
H A DSplFileObject_rewind_variation001.phpt16 echo $s->current();
18 echo $s->current();
22 echo $s->current();
H A Dobserver_002.phpt26 function current(): object
28 echo __METHOD__ . "(" . parent::current()->getName() . ")\n";
29 return parent::current();
151 MyObjectStorage::current($ob1)
156 MyObjectStorage::current($ob2)
161 MyObjectStorage::current($ob3)
171 MyObjectStorage::current($ob1)
176 MyObjectStorage::current($ob2)
192 MyObjectStorage::current($ob3)
H A Dbug42703.phpt2 Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator)
15 public function current(): mixed
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());
H A DSplDoublyLinkedList_current_empty.phpt2 Run current() function on an empty SplDoublyLinkedList.
9 var_dump($list->current());
/PHP-8.1/ext/dom/tests/
H A Ddom_comment_variation.phpt20 $current = $children->item($index);
21 echo get_class($current), "\n";
22 var_dump($current->textContent);
H A Ddom_comment_basic.phpt23 $current = $children->item($index);
24 echo get_class($current), "\n";
25 var_dump($current->textContent);
/PHP-8.1/ext/zend_test/tests/
H A Dobserver_backtrace_01.phpt34 return gen()->current();
54 Generator::current()
63 Generator::current()
74 Generator::current()
86 Generator::current()
/PHP-8.1/Zend/
H A Dzend_gc.c981 while (current != last) { in gc_mark_roots()
988 current++; in gc_mark_roots()
1113 while (current != last) { in gc_scan_roots()
1120 current++; in gc_scan_roots()
1298 while (current != last) { in gc_collect_roots()
1305 current++; in gc_collect_roots()
1316 ref = current->ref; in gc_collect_roots()
1516 current++; in zend_gc_collect_cycles()
1530 current++; in zend_gc_collect_cycles()
1545 current->ref = p; in zend_gc_collect_cycles()
[all …]
/PHP-8.1/ext/posix/tests/
H A Dposix_getsid.phpt4 Get the current session id of a process pid (POSIX.1, 4.2.1)
16 echo "\n-- Testing posix_getsid() function with current process pid --\n";
23 -- Testing posix_getsid() function with current process pid --
/PHP-8.1/Zend/asm/
H A Djump_i386_ms_pe_masm.asm45 ; load current deallocation stack
48 ; load current stack limit
51 ; load current stack base
54 ; load current SEH exception list
86 ; restore current deallocation stack
89 ; restore current stack limit
92 ; restore current stack base
95 ; restore current SEH exception list
/PHP-8.1/ext/intl/common/
H A Dcommon_enum.cpp61 return Z_ISUNDEF(((zoi_with_current*)iter)->current)? FAILURE : SUCCESS; in zoi_with_current_valid()
66 return &((zoi_with_current*)iter)->current; in zoi_with_current_get_current_data()
72 if (!Z_ISUNDEF(zoi_iter->current)) { in zoi_with_current_invalidate_current()
73 zval_ptr_dtor(&zoi_iter->current); in zoi_with_current_invalidate_current()
74 ZVAL_UNDEF(&zoi_iter->current); //valid would return FAILURE now in zoi_with_current_invalidate_current()
97 ZVAL_STRINGL(&zoi_iter->current, result, result_length); in string_enum_current_move_forward()
106 if (!Z_ISUNDEF(zoi_iter->current)) { in string_enum_rewind()
152 ZVAL_UNDEF(&((zoi_with_current*)ii->iterator)->current); in IntlIterator_from_StringEnumeration()
208 PHP_METHOD(IntlIterator, current) in PHP_METHOD() argument
/PHP-8.1/ext/oci8/tests/
H A Dedition_2.phpt171 The value of current EDITION is ORA$BASE
177 The value of current EDITION is MYEDITION
179 The value of current EDITION is MYEDITION
181 The value of current EDITION is MYEDITION
182 The value of current EDITION is MYEDITION
187 The value of current EDITION is MYEDITION
188 The value of current EDITION is MYEDITION
204 The value of current EDITION is ORA$BASE
233 The value of current EDITION is MYEDITION
238 The value of current EDITION is MYEDITION
[all …]
/PHP-8.1/tests/lang/
H A DforeachLoopObjects.005.phpt2 Foreach loop tests - removing properties before and after the current property during the loop.
14 echo "\nRemoving properties before the current element from an iterated object.\n";
29 echo "\nRemoving properties before the current element from an iterated object.\n";
46 Removing properties before the current element from an iterated object.
62 Removing properties before the current element from an iterated object.

Completed in 47 milliseconds

12345678910>>...22