Home
last modified time | relevance | path

Searched refs:current (Results 101 – 125 of 585) sorted by relevance

12345678910>>...24

/PHP-5.5/ext/standard/tests/network/
H A Dsetcookie.phpt44 if (strncmp(current($headers), 'Set-Cookie:', 11) !== 0)
49 if (current($headers) === current($expected))
56 .current($expected)
57 ."\n\tReceived: ".current($headers)."\n";
/PHP-5.5/tests/lang/
H A DforeachLoopObjects.005.phpt2 Foreach loop tests - removing properties before and after the current property during the loop.
14 echo "\nRemoving properties before the current element from an iterated object.\n";
29 echo "\nRemoving properties before the current element from an iterated object.\n";
47 Removing properties before the current element from an iterated object.
63 Removing properties before the current element from an iterated object.
/PHP-5.5/ext/spl/internal/
H A Drecursiveiteratoriterator.inc89 /** @return current key
97 /** @return current element
99 function current()
102 return $it->current();
156 /** @return Sub Iterator at given level or if unspecified the current sub
182 /** @return whether current sub iterators current element has children
190 /** @return current sub iterators current children
205 /** Called after current child iterator is invalid and right before it
H A Dfilteriterator.inc23 * method accept(). Typically this invloves reading the current element or
51 * @return whether or not to expose the current element of the inner
88 * @return The current key
95 * @return The current value
97 function current() {
98 return $this->it->current();
H A Dsplobjectstorage.inc42 /** @return current key
49 /** @return current object
51 function current()
53 $element = current($this->storage);
57 /** @return get current object's associated information
62 $element = current($this->storage);
66 /** @return set current object's associated information
H A Dsplfileobject.inc60 /** increase current line number
124 * Flush current data
133 * @return current file position
224 * @return current set of flags
240 * @return current setting for max line
264 * Invalidate current line buffer and set line number to 0.
281 * @note Fill current line buffer if not done yet.
284 function current()
306 /** Invalidate current line buffer.
357 * @return current line
[all …]
/PHP-5.5/ext/posix/tests/
H A Dposix_getsid.phpt4 Get the current session id of a process pid (POSIX.1, 4.2.1)
18 echo "\n-- Testing posix_getsid() function with current process pid --\n";
26 -- Testing posix_getsid() function with current process pid --
/PHP-5.5/ext/intl/tests/
H A Dbreakiter_first_last_previous_current_error.phpt2 IntlBreakIterator::first()/last()/previous()/current(): arg errors
17 var_dump($bi->current(1));
36 Warning: IntlBreakIterator::current() expects exactly 0 parameters, 1 given in %s on line %d
38 Warning: IntlBreakIterator::current(): breakiter_current: bad arguments in %s on line %d
/PHP-5.5/ext/spl/
H A Dspl_dllist.c148 while (current) { in spl_ptr_llist_destroy()
154 current = next; in spl_ptr_llist_destroy()
176 current = current->prev; in spl_ptr_llist_offset()
178 current = current->next; in spl_ptr_llist_offset()
182 return current; in spl_ptr_llist_offset()
324 while (current) { in spl_ptr_llist_copy()
332 current = next; in spl_ptr_llist_copy()
538 while (current) { in spl_dllist_object_get_debug_info()
545 current = next; in spl_dllist_object_get_debug_info()
1160 while (current) { in SPL_METHOD()
[all …]
H A Dspl.php554 function current(); function
643 /** @return current flags
764 * @return current flags
840 function current() {/**/} function in ArrayIterator
1008 function current() {/**/} function in DirectoryIterator
1061 function current() {/**/} function in RecursiveDirectoryIterator
1112 function current() {/**/} function in SimpleXMLIterator
/PHP-5.5/ext/spl/tests/
H A DSplDoublyLinkedList_current_empty.phpt2 Run current() function on an empty SplDoublyLinkedList.
9 var_dump($list->current());
H A Dpqueue_current_error.phpt2 SPL: SplPriorityQueue current on empty queue should give null
9 var_dump($h->current());
H A DSplObjectStorage_current_empty_storage.phpt2 Check that SplObjectStorage::current returns NULL when storage is empty
10 var_dump($s->current());
H A DarrayObject_getIteratorClass_basic1.phpt24 function current() {
27 return parent::current();
80 In MyIterator::current()
85 In MyIterator::current()
90 In MyIterator::current()
H A Dbug47534.phpt7 echo gettype($it1->current())."\n";
11 echo gettype($it2->current())."\n";
H A DSplFileObject_current_basic.phpt2 SPL: SplFileObject::current basic
14 echo $s->current();
H A DSplFileObject_next_basic.phpt14 echo $s->current();
17 echo $s->current();
H A Dbug67359.phpt14 $it->current();
20 $it->current();
/PHP-5.5/ext/standard/tests/array/
H A Dnext_basic.phpt17 echo key($array) . " => " . current($array) . "\n";
20 echo key($array) . " => " . current($array) . "\n";
23 echo key($array) . " => " . current($array) . "\n";
H A Dcompact_variation2.phpt2 Test compact() function: ensure compact() doesn't pick up variables declared outside of current sco…
10 echo "*** Testing compact() : usage variations - variables outside of current scope ***\n";
27 *** Testing compact() : usage variations - variables outside of current scope ***
H A Darray_merge_variation10.phpt25 echo key($result) . " => " . current($result) . "\n";
29 echo key($arr1) . " => " . current ($arr1) . "\n";
31 echo key($arr2) . " => " . current ($arr2) . "\n";
33 echo key($arr3) . " => " . current ($arr3) . "\n";
/PHP-5.5/tests/classes/
H A Diterators_008.phpt25 public function current() {
40 D::current(2)
43 D::current(1)
/PHP-5.5/ext/spl/examples/
H A Dinigroups.inc23 * relation. Doing so both current() and key() methods must be overwritten.
40 * @return The current group.
42 function current() {
47 * @return The current group.
/PHP-5.5/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp71 MAKE_STD_ZVAL(zoi_iter->current); in _breakiterator_move_forward()
72 ZVAL_LONG(zoi_iter->current, (long)pos); in _breakiterator_move_forward()
82 MAKE_STD_ZVAL(zoi_iter->current); in _breakiterator_rewind()
83 ZVAL_LONG(zoi_iter->current, (long)pos); in _breakiterator_rewind()
122 zoi_iter->current = NULL; in _breakiterator_get_iterator()
158 cur = bio->biter->current(); in _breakiterator_parts_move_forward()
190 MAKE_STD_ZVAL(zoi_bit->zoi_cur.current); in _breakiterator_parts_move_forward()
191 ZVAL_STRINGL(zoi_bit->zoi_cur.current, res, len, 0); in _breakiterator_parts_move_forward()
199 if (zoi_bit->zoi_cur.current) { in _breakiterator_parts_rewind()
235 ((zoi_with_current*)ii->iterator)->current = NULL; in IntlIterator_from_BreakIterator_parts()
/PHP-5.5/Zend/tests/
H A Dbug32674.phpt20 public function current() {
21 $element = current($this->_elements);
39 return ($this->current() !== false);

Completed in 50 milliseconds

12345678910>>...24