Home
last modified time | relevance | path

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

12345678910>>...26

/PHP-7.1/ext/phar/tests/zip/
H A Dphar_buildfromiterator4.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
57 current
H A Dphar_buildfromiterator7.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
56 current
/PHP-7.1/ext/phar/tests/tar/
H A Dphar_buildfromiterator4.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
57 current
H A Dphar_buildfromiterator7.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
56 current
/PHP-7.1/ext/phar/tests/
H A Dphar_buildfromiterator7.phpt21 function current() {
22 echo "current\n";
23 return current($this->a);
31 return current($this->a);
56 current
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
/PHP-7.1/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.phpt15 echo str_replace("\0", '\0', $it->key()) . " => " . $it->current() .
18 echo str_replace("\0", '\0', $it->key()) . " => " . $it->current() .
32 echo "\n--> Invalidate current position and show the first two items:\n";
34 $ai->current();
51 --> 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 Dbug73423.phpt10 public Function current ()
12 return current ($this->foo);
32 return current ($this->foo) !== false;
37 return current ($this->foo);
/PHP-7.1/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-7.1/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-7.1/ext/date/tests/
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-7.1/Zend/tests/
H A Dforeach_003.phpt24 function current() {$this->trap(__FUNCTION__); return $this->n;}
28 foreach(['rewind', 'valid', 'key', 'current', 'next'] as $trap) {
63 current
64 current
65 current
/PHP-7.1/ext/dom/tests/
H A Ddom_comment_variation.phpt22 $current = $children->item($index);
23 echo get_class($current), "\n";
24 var_dump($current->textContent);
/PHP-7.1/ext/spl/
H A Dspl_dllist.c157 while (current) { in spl_ptr_llist_destroy()
160 dtor(current); in spl_ptr_llist_destroy()
163 current = next; in spl_ptr_llist_destroy()
185 current = current->prev; in spl_ptr_llist_offset()
187 current = current->next; in spl_ptr_llist_offset()
191 return current; in spl_ptr_llist_offset()
329 while (current) { in spl_ptr_llist_copy()
339 current = next; in spl_ptr_llist_copy()
520 while (current) { in spl_dllist_object_get_debug_info()
529 current = next; in spl_dllist_object_get_debug_info()
[all …]
/PHP-7.1/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 …]

Completed in 45 milliseconds

12345678910>>...26