/PHP-7.4/Zend/tests/ |
H A D | foreach_003.phpt | 24 function current() {$this->trap(__FUNCTION__); return $this->n;} 28 foreach(['rewind', 'valid', 'key', 'current', 'next'] as $trap) { 63 current 64 current 65 current
|
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-7.4/ext/standard/tests/strings/ |
H A D | stristr_variation2.phpt | 87 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 91 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 95 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 99 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 103 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 107 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 111 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 127 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 131 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 135 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… [all …]
|
H A D | stripos_variation10.phpt | 99 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 104 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 109 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 114 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 119 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 124 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 129 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 134 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 139 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 169 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… [all …]
|
H A D | stripos_variation11.phpt | 95 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 98 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 102 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 105 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 109 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 112 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 116 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 119 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 123 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… 126 …ted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on… [all …]
|
/PHP-7.4/ext/spl/tests/ |
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 | 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());
|
H A D | SplDoublyLinkedList_current_empty.phpt | 2 Run current() function on an empty SplDoublyLinkedList. 9 var_dump($list->current());
|
H A D | SplObjectStorage_current_empty_storage.phpt | 2 Check that SplObjectStorage::current returns NULL when storage is empty 10 var_dump($s->current());
|
H A D | pqueue_current_error.phpt | 2 SPL: SplPriorityQueue current on empty queue should give null 9 var_dump($h->current());
|
H A D | bug73423.phpt | 10 public Function current () 12 return current ($this->foo); 32 return current ($this->foo) !== false; 37 return current ($this->foo);
|
H A D | bug47534.phpt | 7 echo gettype($it1->current())."\n"; 11 echo gettype($it2->current())."\n";
|
/PHP-7.4/ext/dom/tests/ |
H A D | dom_comment_basic.phpt | 25 $current = $children->item($index); 26 echo get_class($current), "\n"; 27 var_dump($current->textContent);
|
/PHP-7.4/ext/date/tests/ |
H A D | DatePeriod_properties1.phpt | 22 echo "current: "; 23 var_dump($period->current); 35 current: NULL
|
/PHP-7.4/ext/standard/tests/array/ |
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 | bug62607.phpt | 6 echo 'Before -> '.current($arr).PHP_EOL; 8 echo 'After -> '.current($arr);
|
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-7.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-7.4/ext/intl/common/ |
H A D | common_enum.cpp | 62 return Z_ISUNDEF(((zoi_with_current*)iter)->current)? FAILURE : SUCCESS; in zoi_with_current_valid() 67 return &((zoi_with_current*)iter)->current; in zoi_with_current_get_current_data() 73 if (!Z_ISUNDEF(zoi_iter->current)) { in zoi_with_current_invalidate_current() 74 zval_ptr_dtor(&zoi_iter->current); in zoi_with_current_invalidate_current() 75 ZVAL_UNDEF(&zoi_iter->current); //valid would return FAILURE now in zoi_with_current_invalidate_current() 98 ZVAL_STRINGL(&zoi_iter->current, result, result_length); in string_enum_current_move_forward() 107 if (!Z_ISUNDEF(zoi_iter->current)) { in string_enum_rewind() 152 ZVAL_UNDEF(&((zoi_with_current*)ii->iterator)->current); in IntlIterator_from_StringEnumeration() 208 static PHP_METHOD(IntlIterator, current) in PHP_METHOD() argument 299 PHP_ME(IntlIterator, current, ainfo_se_void, ZEND_ACC_PUBLIC)
|
/PHP-7.4/ext/oci8/tests/ |
H A D | edition_2.phpt | 167 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 …]
|
/PHP-7.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"; 46 Removing properties before the current element from an iterated object. 62 Removing properties before the current element from an iterated object.
|
/PHP-7.4/ext/intl/tests/ |
H A D | breakiter_first_last_previous_current_error.phpt | 2 IntlBreakIterator::first()/last()/previous()/current(): arg errors 17 var_dump($bi->current(1)); 34 Warning: IntlBreakIterator::current() expects exactly 0 parameters, 1 given in %s on line %d 36 Warning: IntlBreakIterator::current(): breakiter_current: bad arguments in %s on line %d
|
/PHP-7.4/tests/classes/ |
H A D | iterators_008.phpt | 25 public function current() { 40 D::current(2) 43 D::current(1)
|
/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 581 xml_element* current; member 595 c = mydata->current; in _xmlrpc_startElement() 597 mydata->current = xml_elem_new(); in _xmlrpc_startElement() 598 mydata->current->name = (char*)estrdup(name); in _xmlrpc_startElement() 599 mydata->current->parent = c; in _xmlrpc_startElement() 607 Q_PushTail(&mydata->current->attrs, attr); in _xmlrpc_startElement() 620 if(mydata && mydata->current && mydata->current->parent) { in _xmlrpc_endElement() 621 Q_PushTail(&mydata->current->parent->children, mydata->current); in _xmlrpc_endElement() 623 mydata->current = mydata->current->parent; in _xmlrpc_endElement() 633 if(mydata && mydata->current) { in _xmlrpc_charHandler() [all …]
|