/PHP-5.4/ext/spl/tests/ |
H A D | bug45614.phpt | 14 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 D | SplFileObject_current_error001.phpt | 2 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 D | observer_002.phpt | 26 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 D | SplFileObject_rewind_variation001.phpt | 16 echo $s->current(); 18 echo $s->current(); 22 echo $s->current();
|
H A D | bug42703.phpt | 2 Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator) 15 public function current() 35 var_dump($itit->current());
|
H A D | iterator_002.phpt | 10 return is_array($this->current()); 15 return new RecursiceArrayIterator($this->current()); 33 return new RecursiceArrayIterator($this->getInnerIterator()->current());
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | bug35022.phpt | 2 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 D | reset_variation3.phpt | 20 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 D | 009.phpt | 2 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 …]
|
H A D | next_basic.phpt | 17 echo key($array) . " => " . current($array) . "\n"; 20 echo key($array) . " => " . current($array) . "\n"; 23 echo key($array) . " => " . current($array) . "\n";
|
/PHP-5.4/ext/phar/tests/ |
H A D | phar_oo_004.phpt | 56 function current() 59 return parent::current(); 105 MyDirectoryIterator::current 111 MyDirectoryIterator::current 117 MyDirectoryIterator::current 123 MyDirectoryIterator::current
|
H A D | phar_oo_004U.phpt | 56 function current() 59 return parent::current(); 105 MyDirectoryIterator::current 111 MyDirectoryIterator::current 117 MyDirectoryIterator::current 123 MyDirectoryIterator::current
|
H A D | phar_buildfromiterator3.phpt | 21 function current() { 22 echo "current\n"; 23 return current($this->a); 31 return current($this->a);
|
/PHP-5.4/Zend/ |
H A D | zend_gc.c | 482 while (current != &GC_G(roots)) { in gc_mark_roots() 483 if (current->handle) { in gc_mark_roots() 504 GC_REMOVE_FROM_BUFFER(current); in gc_mark_roots() 507 current = current->next; in gc_mark_roots() 618 while (current != &GC_G(roots)) { in gc_scan_roots() 619 if (current->handle) { in gc_scan_roots() 629 current = current->next; in gc_scan_roots() 758 while (current != &GC_G(roots)) { in gc_collect_roots() 759 if (current->handle) { in gc_collect_roots() 775 GC_REMOVE_FROM_BUFFER(current); in gc_collect_roots() [all …]
|
/PHP-5.4/ext/dom/tests/ |
H A D | dom_comment_variation.phpt | 22 $current = $children->item($index); 23 echo get_class($current), "\n"; 24 var_dump($current->textContent);
|
H A D | dom_comment_basic.phpt | 25 $current = $children->item($index); 26 echo get_class($current), "\n"; 27 var_dump($current->textContent);
|
/PHP-5.4/ext/oci8/tests/ |
H A D | edition_2.phpt | 159 The value of current EDITION is ORA$BASE 165 The value of current EDITION is MYEDITION 167 The value of current EDITION is MYEDITION 169 The value of current EDITION is MYEDITION 170 The value of current EDITION is MYEDITION 175 The value of current EDITION is MYEDITION 176 The value of current EDITION is MYEDITION 192 The value of current EDITION is ORA$BASE 221 The value of current EDITION is MYEDITION 226 The value of current EDITION is MYEDITION [all …]
|
/PHP-5.4/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 588 xml_element* current; member 602 c = mydata->current; in _xmlrpc_startElement() 604 mydata->current = xml_elem_new(); in _xmlrpc_startElement() 605 mydata->current->name = (char*)strdup(name); in _xmlrpc_startElement() 606 mydata->current->parent = c; in _xmlrpc_startElement() 614 Q_PushTail(&mydata->current->attrs, attr); in _xmlrpc_startElement() 627 if(mydata && mydata->current && mydata->current->parent) { in _xmlrpc_endElement() 628 Q_PushTail(&mydata->current->parent->children, mydata->current); in _xmlrpc_endElement() 630 mydata->current = mydata->current->parent; in _xmlrpc_endElement() 640 if(mydata && mydata->current) { in _xmlrpc_charHandler() [all …]
|
/PHP-5.4/Zend/tests/ |
H A D | bug32993.phpt | 2 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); }
|
/PHP-5.4/ext/spl/internal/ |
H A D | recursiveiteratoriterator.inc | 89 /** @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 D | filteriterator.inc | 23 * 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();
|
/PHP-5.4/tests/lang/ |
H A D | foreachLoopObjects.005.phpt | 2 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.4/ext/posix/tests/ |
H A D | posix_getsid.phpt | 4 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.4/ext/spl/ |
H A D | spl_dllist.c | 148 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() 1161 while (current) { in SPL_METHOD() [all …]
|
/PHP-5.4/ext/spl/examples/ |
H A D | inigroups.inc | 23 * relation. Doing so both current() and key() methods must be overwritten. 40 * @return The current group. 42 function current() { 47 * @return The current group.
|