Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-8.1/Zend/tests/
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
H A Dbug32674.phpt20 public function current(): mixed {
21 $element = current($this->_elements);
39 return ($this->current() !== false);
/PHP-8.1/ext/spl/tests/
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 DSplFileObject_current_basic.phpt2 SPL: SplFileObject::current basic
14 echo $s->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";
H A DSplFileObject_next_basic.phpt14 echo $s->current();
17 echo $s->current();
/PHP-8.1/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));
H A Dprev_basic.phpt13 echo key($array) . " => " . current($array) . "\n";
16 echo key($array) . " => " . current($array) . "\n";
19 echo key($array) . " => " . current($array) . "\n";
/PHP-8.1/tests/classes/
H A Diterators_008.phpt25 public function current(): mixed {
42 D::current(2)
45 D::current(1)
/PHP-8.1/ext/zend_test/tests/
H A Dobserver_generator_04.phpt22 while($generator->current() !== NULL) {
23 echo $generator->current() . PHP_EOL;
24 if ($generator->current() === 5) {
/PHP-8.1/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.1/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.1/ext/date/lib/
H A Dtm2unixtime.c379 timelib_time_offset *current, *after; in do_adjust_timezone() local
389 current = timelib_get_time_zone_info(tz->sse, tzi); in do_adjust_timezone()
390 after = timelib_get_time_zone_info(tz->sse - current->offset, tzi); in do_adjust_timezone()
393 if (current->offset == after->offset && tz->have_zone) { in do_adjust_timezone()
395 if (current->offset >= 0 && tz->dst && !current->is_dst) { in do_adjust_timezone()
398 earlier = timelib_get_time_zone_info(tz->sse - current->offset - 7200, tzi); in do_adjust_timezone()
405 } else if (current->offset <= 0 && current->is_dst && !tz->dst) { in do_adjust_timezone()
408 later = timelib_get_time_zone_info(tz->sse - current->offset + 7200, tzi); in do_adjust_timezone()
425 if ((current->offset != actual_offset) && !in_transition) { in do_adjust_timezone()
428 adjustment = -current->offset; in do_adjust_timezone()
[all …]
/PHP-8.1/Zend/tests/return_types/
H A D006.phpt8 function current() : Comment {
9 return parent::current();

Completed in 36 milliseconds

12345678910>>...22