Searched refs:current (Results 126 – 150 of 588) sorted by relevance
12345678910>>...24
7 function current(): Unknown {}13 … error: Could not check compatibility between Test::current(): Unknown and SplObjectStorage::curre…
18 print "Before current\n";19 $gen->current();29 Before current
25 print "Before current\n";26 $gen->current();36 Before current
20 public function current(): mixed {21 $element = current($this->_elements);39 return ($this->current() !== false);
2 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.
2 Run current() function on an empty SplDoublyLinkedList.9 var_dump($list->current());
10 public Function current(): mixed12 return current ($this->foo);32 return current ($this->foo) !== false;37 return current ($this->foo);
2 SPL: SplPriorityQueue current on empty queue should give null9 var_dump($h->current());
7 echo gettype($it1->current())."\n";11 echo gettype($it2->current())."\n";
24 function current(): mixed {27 return parent::current();80 In MyIterator::current()85 In MyIterator::current()90 In MyIterator::current()
11 var_dump($ai->current());26 var_dump($ai2->current());30 var_dump($ai2->current());35 var_dump($ai2->current());
14 $it->current();20 $it->current();
13 echo $dll->current()."\n";16 echo $dll->current()."\n";
20 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";
6 echo 'Before -> '.current($arr).PHP_EOL;8 echo 'After -> '.current($arr);
2 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 ***
14 var_dump(current($array1));22 var_dump(current($array1));24 var_dump(current($array2));
13 echo key($array) . " => " . current($array) . "\n";16 echo key($array) . " => " . current($array) . "\n";19 echo key($array) . " => " . current($array) . "\n";
25 public function current(): mixed {42 D::current(2)45 D::current(1)
12 var_dump($bi->current());14 var_dump($bi->current());
12 var_dump($bi->current());15 var_dump($bi->current());
2 SPL: SplFileObject::current basic14 echo $s->current();
14 echo $s->current();17 echo $s->current();
21 var_dump($gen->current());34 var_dump($gen->current());46 var_dump($gen->current());56 var_dump($gen->current());
13 var_dump(yield_from($gen)->current());14 var_dump(yield_from($gen)->current());
Completed in 18 milliseconds