Home
last modified time | relevance | path

Searched refs:current (Results 126 – 150 of 571) sorted by relevance

12345678910>>...23

/PHP-8.2/Zend/tests/
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…
H A Dgh9916-010.phpt18 print "Before current\n";
19 $gen->current();
29 Before current
H A Dgh9916-011.phpt25 print "Before current\n";
26 $gen->current();
36 Before current
/PHP-8.2/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.
/PHP-8.2/ext/spl/tests/
H A DSplDoublyLinkedList_current_empty.phpt2 Run current() function on an empty SplDoublyLinkedList.
9 var_dump($list->current());
H A Dbug73423.phpt10 public Function current(): mixed
12 return current ($this->foo);
32 return current ($this->foo) !== false;
37 return current ($this->foo);
H A Dpqueue_current_error.phpt2 SPL: SplPriorityQueue current on empty queue should give null
9 var_dump($h->current());
H A Dbug47534.phpt7 echo gettype($it1->current())."\n";
11 echo gettype($it2->current())."\n";
H A DarrayObject_getIteratorClass_basic1.phpt24 function current(): mixed {
27 return parent::current();
80 In MyIterator::current()
85 In MyIterator::current()
90 In MyIterator::current()
H A Dbug61527.phpt11 var_dump($ai->current());
26 var_dump($ai2->current());
30 var_dump($ai2->current());
35 var_dump($ai2->current());
H A Dbug67359.phpt14 $it->current();
20 $it->current();
H A Ddllist_memleak.phpt13 echo $dll->current()."\n";
16 echo $dll->current()."\n";
/PHP-8.2/ext/standard/tests/array/
H A Darray_merge_variation10.phpt20 echo key($result) . " => " . current($result) . "\n";
24 echo key($arr1) . " => " . current ($arr1) . "\n";
26 echo key($arr2) . " => " . current ($arr2) . "\n";
28 echo key($arr3) . " => " . current ($arr3) . "\n";
H A Dbug62607.phpt6 echo 'Before -> '.current($arr).PHP_EOL;
8 echo 'After -> '.current($arr);
H A Dcompact_variation2.phpt2 Test compact() function: ensure compact() doesn't pick up variables declared outside of current sco…
5 echo "*** Testing compact() : usage variations - variables outside of current scope ***\n";
21 *** Testing compact() : usage variations - variables outside of current scope ***
H A Dend_variation3.phpt14 var_dump(current($array1));
22 var_dump(current($array1));
24 var_dump(current($array2));
/PHP-8.2/Zend/
H A Dzend_gc.c1195 while (current != last) { in gc_mark_roots()
1202 current++; in gc_mark_roots()
1362 gc_root_buffer *current; in gc_scan_roots() local
1614 while (current != last) { in gc_collect_roots()
1621 current++; in gc_collect_roots()
1632 ref = current->ref; in gc_collect_roots()
1861 current++; in zend_gc_collect_cycles()
1875 current++; in zend_gc_collect_cycles()
1891 current->ref = p; in zend_gc_collect_cycles()
1961 while (current != last) { in zend_gc_collect_cycles()
[all …]
/PHP-8.2/tests/classes/
H A Diterators_008.phpt25 public function current(): mixed {
42 D::current(2)
45 D::current(1)
/PHP-8.2/ext/intl/tests/
H A Dbreakiter_last_basic.phpt12 var_dump($bi->current());
14 var_dump($bi->current());
H A Dbreakiter_first_basic.phpt12 var_dump($bi->current());
15 var_dump($bi->current());
/PHP-8.2/Zend/tests/generators/
H A Dget_return.phpt21 var_dump($gen->current());
34 var_dump($gen->current());
46 var_dump($gen->current());
56 var_dump($gen->current());
H A Drepeated_yield_from_with_immediate_release.phpt13 var_dump(yield_from($gen)->current());
14 var_dump(yield_from($gen)->current());
/PHP-8.2/ext/spl/tests/SplFileObject/
H A DSplFileObject_current_basic.phpt2 SPL: SplFileObject::current basic
14 echo $s->current();
H A DSplFileObject_next_basic.phpt14 echo $s->current();
17 echo $s->current();

Completed in 37 milliseconds

12345678910>>...23