Home
last modified time | relevance | path

Searched refs:current (Results 76 – 100 of 593) sorted by relevance

12345678910>>...24

/PHP-5.6/ext/spl/tests/
H A Dfileobject_001.phpt9 var_dump($o->current());
12 var_dump($o->current());
16 var_dump($o->current());
20 var_dump($o->current());
24 var_dump($o->current());
H A Diterator_021.phpt58 function current()
61 return parent::current();
115 RecursiveArrayIteratorIterator::current
124 RecursiveArrayIteratorIterator::current
133 RecursiveArrayIteratorIterator::current
139 RecursiveArrayIteratorIterator::current
150 RecursiveArrayIteratorIterator::current
165 RecursiveArrayIteratorIterator::current
173 RecursiveArrayIteratorIterator::current
H A DSplFileObject_current_error001.phpt2 SPL: SplFileObject::current variation error
16 echo $s->current('foo');
19 Warning: SplFileObject::current() expects exactly 0 parameters, 1 given in %s on line %d
H A Dbug45614.phpt14 echo str_replace("\0", '\0', $it->key()) . " => " . $it->current() .
17 echo str_replace("\0", '\0', $it->key()) . " => " . $it->current() .
31 echo "\n--> Invalidate current position and show the first two items:\n";
33 $ai->current();
50 --> 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-5.6/ext/date/tests/
H A Ddate_time_immutable-inherited.phpt8 $current = "2012-12-27 16:24:08";
11 $v = date_create_immutable($current);
16 $v = date_create_immutable($current);
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 ) );
/PHP-5.6/ext/spl/internal/
H A Drecursivetreeiterator.inc51 /** Prefix used right in front of the current element. */
68 /** @return string to place in front of current element
82 /** @return string presentation build for current element
86 return @(string)parent::current();
89 /** @return string to place after the current element
96 /** @return the current element prefixed and postfixed
98 function current()
102 return parent::current();
110 /** @return the current key prefixed and postfixed
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-5.6/ext/standard/tests/array/
H A Dcurrent_variation2.phpt2 Test current() function : usage variations - arrays containing different data types
5 /* Prototype : mixed current(array $array_arg)
12 * Pass arrays of different data types as $array_arg to current() to test behaviour
15 echo "*** Testing current() : usage variations ***\n";
108 // loop through each element of $inputs to check the behavior of current()
112 var_dump( current($input) );
120 *** Testing current() : usage variations ***
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-5.6/ext/phar/tests/
H A Dphar_oo_004.phpt56 function current()
59 return parent::current();
105 MyDirectoryIterator::current
111 MyDirectoryIterator::current
117 MyDirectoryIterator::current
123 MyDirectoryIterator::current
H A Dphar_oo_004U.phpt56 function current()
59 return parent::current();
105 MyDirectoryIterator::current
111 MyDirectoryIterator::current
117 MyDirectoryIterator::current
123 MyDirectoryIterator::current
H A Dphar_buildfromiterator3.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
/PHP-5.6/ext/intl/common/
H A Dcommon_enum.cpp63 return ((zoi_with_current*)iter)->current != NULL ? SUCCESS : FAILURE; in zoi_with_current_valid()
68 *data = &((zoi_with_current*)iter)->current; in zoi_with_current_get_current_data()
74 if (zoi_iter->current) { in zoi_with_current_invalidate_current()
75 zval_ptr_dtor(&zoi_iter->current); in zoi_with_current_invalidate_current()
76 zoi_iter->current = NULL; //valid would return FAILURE now in zoi_with_current_invalidate_current()
99 MAKE_STD_ZVAL(zoi_iter->current); in string_enum_current_move_forward()
100 ZVAL_STRINGL(zoi_iter->current, result, result_length, 1); in string_enum_current_move_forward()
109 if (zoi_iter->current) { in string_enum_rewind()
153 ((zoi_with_current*)ii->iterator)->current = NULL; in IntlIterator_from_StringEnumeration()
223 static PHP_METHOD(IntlIterator, current) in PHP_METHOD() argument
[all …]
/PHP-5.6/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-5.6/Zend/
H A Dzend_gc.c477 while (current != &GC_G(roots)) { in gc_mark_roots()
478 if (current->handle) { in gc_mark_roots()
499 GC_REMOVE_FROM_BUFFER(current); in gc_mark_roots()
502 current = current->next; in gc_mark_roots()
613 while (current != &GC_G(roots)) { in gc_scan_roots()
614 if (current->handle) { in gc_scan_roots()
624 current = current->next; in gc_scan_roots()
753 while (current != &GC_G(roots)) { in gc_collect_roots()
754 if (current->handle) { in gc_collect_roots()
770 GC_REMOVE_FROM_BUFFER(current); in gc_collect_roots()
[all …]
/PHP-5.6/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-5.6/Zend/tests/
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); }

Completed in 30 milliseconds

12345678910>>...24