Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-5.4/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-5.4/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-5.4/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-5.4/ext/spl/tests/
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_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 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 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
H A Diterator_034.phpt58 function current()
61 return parent::current();
117 var_dump($it->current() == "a");
128 RecursiveArrayIteratorIterator::current()
138 RecursiveArrayIteratorIterator::current()
148 RecursiveArrayIteratorIterator::current()
154 RecursiveArrayIteratorIterator::current()
166 RecursiveArrayIteratorIterator::current()
172 RecursiveArrayIteratorIterator::current()
186 RecursiveArrayIteratorIterator::current()
/PHP-5.4/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)
H A DforeachLoopIteratorAggregate.004.phpt23 function current() {
74 c_iter::current
80 c_iter::current
84 c_iter::current
90 c_iter::current
94 c_iter::current
100 c_iter::current
H A Dbug55754.phpt6 current($arr = array(0 => "a"));
7 current(array(0 => "a"));
8 current($arr);
H A Dbug23624.phpt2 Bug #23624 (foreach leaves current array key as null)
6 var_dump(current($arr));
8 var_dump(current($arr));
/PHP-5.4/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());
H A Diterators_002.phpt25 function current() {
78 c_iter::current
84 c_iter::current
89 c_iter::current
95 c_iter::current
100 c_iter::current
106 c_iter::current
/PHP-5.4/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-5.4/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-5.4/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-5.4/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' ), " (",
/PHP-5.4/ext/standard/
H A Dscanf.c588 zval **current; in php_sscanf_internal() local
748 current = args[objIndex++]; in php_sscanf_internal()
750 zval_dtor( *current ); in php_sscanf_internal()
753 Z_SET_ISREF_PP(current); in php_sscanf_internal()
872 current = args[objIndex++]; in php_sscanf_internal()
874 zval_dtor( *current ); in php_sscanf_internal()
877 Z_SET_ISREF_PP(current); in php_sscanf_internal()
917 zval_dtor( *current ); in php_sscanf_internal()
1071 zval_dtor(*current); in php_sscanf_internal()
1081 zval_dtor(*current); in php_sscanf_internal()
[all …]

Completed in 89 milliseconds

12345678910>>...22