Home
last modified time | relevance | path

Searched refs:current (Results 26 – 50 of 648) sorted by relevance

12345678910>>...26

/PHP-7.1/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c44 resourcebundle_extract_value( &iterator->current, rb ); in resourcebundle_iterator_read()
48 ZVAL_UNDEF(&iterator->current); in resourcebundle_iterator_read()
58 if (!Z_ISUNDEF(iterator->current)) { in resourcebundle_iterator_invalidate()
59 zval_ptr_dtor( &iterator->current ); in resourcebundle_iterator_invalidate()
60 ZVAL_UNDEF(&iterator->current); in resourcebundle_iterator_invalidate()
93 if (Z_ISUNDEF(iterator->current)) { in resourcebundle_iterator_current()
96 return &iterator->current; in resourcebundle_iterator_current()
105 if (Z_ISUNDEF(iterator->current)) { in resourcebundle_iterator_key()
171 ZVAL_UNDEF(&iterator->current); in resourcebundle_get_iterator()
/PHP-7.1/ext/phar/tests/
H A Dphar_buildfromiterator4.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
63 current
67 current
71 current
75 current
/PHP-7.1/ext/spl/tests/
H A Dfixedarray_003.phpt9 public function current() {
10 echo "A::current\n";
11 return parent::current();
63 A::current
68 A::current
73 A::current
78 A::current
83 A::current
H A DSplFixedArray_current_param.phpt2 SplFixedArray::current() with a parameter. *BUG*
15 echo $array->current( array("this","should","not","execute") );
20 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d
22 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d
24 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d
H A Diterator_023.phpt11 return $this->current();
58 function current()
61 return parent::current();
134 RecursiveArrayIteratorIterator::current
140 RecursiveArrayIteratorIterator::current
144 RecursiveArrayIteratorIterator::current
150 RecursiveArrayIteratorIterator::current
154 RecursiveArrayIteratorIterator::current
160 RecursiveArrayIteratorIterator::current
168 RecursiveArrayIteratorIterator::current
[all …]
H A Diterator_014.phpt42 function current()
45 return parent::current();
81 RecursiveArrayIteratorIterator::current
88 RecursiveArrayIteratorIterator::current
95 RecursiveArrayIteratorIterator::current
100 RecursiveArrayIteratorIterator::current
111 RecursiveArrayIteratorIterator::current
124 RecursiveArrayIteratorIterator::current
131 RecursiveArrayIteratorIterator::current
H A Diterator_022.phpt11 return $this->current();
58 function current()
61 return parent::current();
134 RecursiveArrayIteratorIterator::current
140 RecursiveArrayIteratorIterator::current
144 RecursiveArrayIteratorIterator::current
150 RecursiveArrayIteratorIterator::current
154 RecursiveArrayIteratorIterator::current
160 RecursiveArrayIteratorIterator::current
168 RecursiveArrayIteratorIterator::current
[all …]
H A Dbug66405.phpt16 public function current()
18 $current = parent::current();
19 echo gettype($current) . " $current\n";
20 return $current;
H A DSplFileObject_next_variation002.phpt15 echo $s->current();
17 echo $s->current();
22 echo $s->current();
24 echo $s->current();
H A Diterator_039.phpt35 public function current()
76 NumericArrayIterator::current
82 NumericArrayIterator::current
88 NumericArrayIterator::current
94 NumericArrayIterator::current
108 NumericArrayIterator::current
115 NumericArrayIterator::current
/PHP-7.1/ext/standard/tests/array/
H A Dcurrent_variation3.phpt2 Test current() function : usage variations - referenced variables
5 /* Prototype : mixed current(array $array_arg)
15 echo "*** Testing current() : usage variations ***\n";
20 var_dump(current($array1));
28 var_dump(current($array1));
30 var_dump(current($array2));
34 *** Testing current() : usage variations ***
/PHP-7.1/ext/spl/examples/
H A Dcallbackfilteriterator.inc33 private $current; /**< current value */
56 $this->current = parent::current();
66 return (bool) call_user_func($this->callback, &$this->current);
68 return (bool) call_user_func($this->callback, $this->current);
78 return (bool) call_user_func($this->callback, &$this->key, &$this->current);
80 return (bool) call_user_func($this->callback, $this->key, $this->current);
85 /** @return current key value */
91 /** @return current value */
92 function current()
94 return $this->current;
H A Ddualiterator.inc69 /** @return current flags
91 /** @return current value depending on CURRENT_* flags
93 function current()
99 return array($this->lhs->current(), $this->rhs->current());
101 return $this->lhs->current();
103 return $this->rhs->current();
134 * current and key values or both are non valid.
139 ? $this->lhs->current() === $this->rhs->current()
144 /** @return whether both inner iterators are valid and have equal current
150 ? $this->lhs->current() == $this->rhs->current()
/PHP-7.1/tests/lang/
H A DforeachLoopIteratorAggregate.001.phpt27 public function current() {
63 public function current() {
169 --> EnglishMealIterator::current (0)
174 --> EnglishMealIterator::current (1)
179 --> EnglishMealIterator::current (2)
188 --> FrenchMealIterator::current (0)
193 --> FrenchMealIterator::current (1)
198 --> FrenchMealIterator::current (2)
203 --> FrenchMealIterator::current (3)
215 --> EnglishMealIterator::current (0)
[all …]
H A DforeachLoopIteratorAggregate.003.phpt27 public function current() {
80 --> EnglishMealIterator::current (0)
85 --> EnglishMealIterator::current (1)
90 --> EnglishMealIterator::current (2)
99 --> EnglishMealIterator::current (0)
104 --> EnglishMealIterator::current (1)
109 --> EnglishMealIterator::current (2)
118 --> EnglishMealIterator::current (0)
123 --> EnglishMealIterator::current (1)
128 --> EnglishMealIterator::current (2)
/PHP-7.1/Zend/
H A Dzend_gc.c600 current = current->next; in gc_mark_roots()
707 current = current->next; in gc_scan_roots()
914 current = next;
922 current = current->next;
1118 current->refcount = GC_REFCOUNT(current->ref);
1119 current = current->next;
1148 if (GC_REFCOUNT(current->ref) > current->refcount) {
1149 gc_remove_nested_data_from_buffer(current->ref, current);
1161 p = current->ref;
1196 p = current->ref;
[all …]
/PHP-7.1/tests/classes/
H A Diterators_006.phpt29 function current() {
30 return $this->current;
34 list($this->key, $this->current) = each($this->array);
35 // list($key, $current) = each($this->array);
37 // $this->current = $current;
58 #var_dump($array->current());
/PHP-7.1/ext/dom/tests/
H A DDOMNode_cloneNode_basic.phpt30 function dumpcourse($current) {
31 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA…
32 echo "Course: $title:";echo(get_class($current)), "\n";
33 echo "~";var_dump($current->textContent);
44 $current = $children->item($index);
45 if ($current->nodeType == XML_TEXT_NODE) {
46 $noderemoved = $root->removeChild($current);
/PHP-7.1/Zend/tests/
H A Dbug73753.phpt5 function iterate($current, $a, $result = null) {
6 if (!$current) {
10 return iterate(getNext($a), $a, $current);
18 return current($a);
/PHP-7.1/ext/spl/internal/
H A Dcachingiterator.inc36 private $current;
72 $this->current = $this->it->current();
75 if (is_object($this->current)) {
76 $this->strValue = $this->current->__toString();
78 $this->strValue = (string)$this->current;
82 $this->current = NULL;
103 /** @return the current element
105 function current()
107 return $this->current;
110 /** @return the current key
[all …]
H A Dappenditerator.inc33 * If the current state is invalid but the appended iterator is valid
35 * call to $it->rewind(). Also if the current state is invalid the inner
43 /** @return the current inner Iterator
47 return $this->iterators->current();
62 /** @return whether the current element is valid
69 /** @return the current value if it is valid or \c NULL
71 function current()
77 return $this->iterators->valid() ? $this->getInnerIterator()->current() : NULL;
80 /** @return the current key if it is valid or \c NULL
100 return; /* found valid element in current inner iterator */
/PHP-7.1/ext/standard/tests/streams/
H A Dbug61371-win.phpt12 $current = null;
14 $current = memory_get_usage(true);
16 var_dump($previous == $current);
18 $previous = $current;
19 echo 'memory: '.round($current / 1024, 0)."kb\n";
H A Dbug61371.phpt12 $current = null;
14 $current = memory_get_usage(true);
16 var_dump($previous == $current);
18 $previous = $current;
19 echo 'memory: '.round($current / 1024, 0)."kb\n";
/PHP-7.1/ext/intl/tests/
H A Dbreakiter_current_basic.phpt2 IntlBreakIterator::current(): basic test
13 var_dump($bi->current());
17 var_dump($bi->current());
19 var_dump($bi->current());
/PHP-7.1/ext/date/tests/
H A Ddate_diff.phpt35 $current = clone $dates[$i];
37 if ( $current > $dates[$j] )
39 $current->sub( $int );
43 $current->add( $int );
45 if ( $current != $dates[$j] )
50 $current->format( 'Y-m-d' ), " (",

Completed in 36 milliseconds

12345678910>>...26