/PHP-7.1/ext/standard/tests/array/ |
H A D | next_error.phpt | 2 Test next() function : error conditions - Pass incorrect number of arguments 5 /* Prototype : mixed next(array $array_arg) 11 * Pass incorrect number of arguments to next() to test behaviour 14 echo "*** Testing next() : error conditions ***\n"; 17 echo "\n-- Testing next() function with Zero arguments --\n"; 18 var_dump( next() ); 20 //Test next with one more than the expected number of arguments 24 var_dump( next($array_arg, $extra_arg) ); 28 *** Testing next() : error conditions *** 30 -- Testing next() function with Zero arguments -- [all …]
|
H A D | next_variation1.phpt | 2 Test next() function : usage variation - Pass different data types as $array_arg 5 /* Prototype : mixed next(array $array_arg) 11 * Pass different data types as $array_arg argument to next() to test behaviour 14 echo "*** Testing next() : variation ***\n"; 85 // loop through each element of $inputs to check the behavior of next() 89 var_dump( next($input) ); 97 *** Testing next() : variation *** 121 Warning: next() expects parameter 1 to be array, float given in %s on line %d 126 Warning: next() expects parameter 1 to be array, float given in %s on line %d 146 Warning: next() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | next_basic.phpt | 2 Test next() function : basic functionality 5 /* Prototype : mixed next(array $array_arg) 6 * Description: Move array argument's internal pointer to the next element and return it 11 * Test basic functionality of next() 14 echo "*** Testing next() : basic functionality ***\n"; 18 var_dump(next($array)); 21 var_dump(next($array)); 24 var_dump(next($array)); 28 *** Testing next() : basic functionality ***
|
H A D | next_variation2.phpt | 2 Test next() function : usage variation - Mulit-dimensional arrays 5 /* Prototype : mixed next(array $array_arg) 6 * Description: Move array argument's internal pointer to the next element and return it 11 * Test next() when passed: 17 echo "*** Testing next() : usage variations ***\n"; 22 var_dump(next($array_arg)); 23 var_dump(next($array_arg)); 26 var_dump(next($array_arg[0])); 30 *** Testing next() : usage variations ***
|
/PHP-7.1/ext/spl/tests/ |
H A D | iterator_007.phpt | 28 function next() 31 parent::next(); 57 function next() 60 parent::next(); 106 ArrayIteratorEx::next 110 ArrayIteratorEx::next 114 ArrayIteratorEx::next 118 ArrayIteratorEx::next 132 ArrayIteratorEx::next 139 ArrayIteratorEx::next [all …]
|
H A D | bug61527.phpt | 9 $ai->next(); 18 $ai2->next(); 28 $ai2->next(); 33 $ai2->next(); 38 $ai2->next(); 39 $ai2->next(); 41 var_dump($ai2->next()); 53 $ai4->next(); 54 $ai4->next(); 55 $ai4->next();
|
H A D | iterator_008.phpt | 28 function next() 31 parent::next(); 55 ArrayIteratorEx::next 60 ArrayIteratorEx::next 65 ArrayIteratorEx::next 72 ArrayIteratorEx::next 77 ArrayIteratorEx::next 82 ArrayIteratorEx::next
|
H A D | fixedarray_019.phpt | 14 public function next() { 15 echo "next\n"; 16 return parent::next(); 40 next 45 next 50 next
|
H A D | iterator_039.phpt | 41 public function next() 80 NumericArrayIterator::next 86 NumericArrayIterator::next 92 NumericArrayIterator::next 98 NumericArrayIterator::next 103 NumericArrayIterator::next 105 NumericArrayIterator::next 113 NumericArrayIterator::next 119 NumericArrayIterator::next
|
H A D | fixedarray_003.phpt | 25 public function next() { 26 echo "A::next\n"; 27 return parent::next(); 66 A::next 71 A::next 76 A::next 81 A::next 86 A::next
|
/PHP-7.1/tests/classes/ |
H A D | iterators_001.phpt | 97 c_iter::next 101 c_iter::next 105 c_iter::next 113 c_iter::next 117 c_iter::next 121 c_iter::next 133 c_iter::next 137 c_iter::next 141 c_iter::next 143 c_iter::next [all …]
|
/PHP-7.1/Zend/ |
H A D | zend_llist.c | 41 tmp->next = NULL; in zend_llist_add_element() 43 l->tail->next = tmp; in zend_llist_add_element() 58 tmp->next = l->head; in zend_llist_prepend_element() 74 (current)->prev->next = (current)->next;\ 78 if ((current)->next) {\ 99 current = current->next; in zend_llist_del_element() 109 next = current->next; in zend_llist_destroy() 114 current = next; in zend_llist_destroy() 159 ptr = ptr->next; in zend_llist_copy() 170 next = element->next; in zend_llist_apply_with_del() [all …]
|
H A D | zend_gc.c | 153 root->prev->next = root->next; in gc_remove_from_roots() 162 root->prev->next = root->next; in gc_remove_from_additional_roots() 312 newRoot->next = GC_G(roots).next; in gc_possible_root() 754 buf->next = GC_G(roots).next; in gc_add_garbage() 905 gc_root_buffer *next = current->next; local 914 current = next; 929 GC_G(to_free).next = GC_G(roots).next; 935 GC_G(to_free).prev->next = GC_G(roots).next; 1096 to_free.next = GC_G(to_free).next; 1195 next = current->next; [all …]
|
/PHP-7.1/ext/zip/lib/ |
H A D | zip_extra_field.c | 60 ef = ef->next; in _zip_ef_clone() 82 prev->next = ef->next; in _zip_ef_delete_by_id() 84 head = ef->next; in _zip_ef_delete_by_id() 111 ef2 = ef->next; in _zip_ef_free() 157 for (tail=to; tail->next; tail=tail->next) in _zip_ef_merge() 161 ef2 = from->next; in _zip_ef_merge() 172 from->next = NULL; in _zip_ef_merge() 191 ef->next = NULL; in _zip_ef_new() 244 ef->next = ef2; in _zip_ef_parse() 289 next = ef->next; in _zip_ef_remove_internal() [all …]
|
H A D | zip_hash.c | 42 struct zip_hash_entry *next; member 78 zip_hash_entry_t *next; in _free_list() local 80 next = entry->next; in _free_list() 82 entry = next; in _free_list() 152 entry->next = hash->table[hash_value]; in _zip_hash_add() 184 previous->next = entry->next; in _zip_hash_delete() 197 entry = entry->next; in _zip_hash_delete() 250 previous->next = entry->next; in _zip_hash_revert() 253 hash->table[i] = entry->next; in _zip_hash_revert() 256 entry = entry->next; in _zip_hash_revert() [all …]
|
/PHP-7.1/ext/date/tests/ |
H A D | bug72719.phpt | 5 echo (new DateTimeImmutable('Monday next week 13:00'))->format('l'), "\n"; 6 echo (new DateTimeImmutable('Tuesday next week 14:00'))->format('l'), "\n"; 7 echo (new DateTimeImmutable('Wednesday next week 14:00'))->format('l'), "\n"; 8 echo (new DateTimeImmutable('Thursday next week 15:00'))->format('l'), "\n"; 9 echo (new DateTimeImmutable('Friday next week 16:00'))->format('l'), "\n"; 10 echo (new DateTimeImmutable('Saturday next week 17:00'))->format('l'), "\n"; 11 echo (new DateTimeImmutable('Sunday next week 18:00'))->format('l'), "\n";
|
H A D | bug51096.phpt | 8 'next month', 9 'first day next month', 10 'last day next month', 11 'first day of next month', 12 'last day of next month' 37 next month 41 first day next month 45 last day next month 49 first day of next month 53 last day of next month
|
/PHP-7.1/ext/intl/tests/ |
H A D | breakiter_next_error.phpt | 2 IntlBreakIterator::next(): arg errors 14 var_dump($bi->next(1, 2)); 15 var_dump($bi->next(array())); 17 Warning: IntlBreakIterator::next() expects exactly 1 parameter, 2 given in %s on line %d 19 Warning: IntlBreakIterator::next(): breakiter_next: bad arguments in %s on line %d 22 Warning: IntlBreakIterator::next() expects parameter 1 to be integer, array given in %s on line %d 24 Warning: IntlBreakIterator::next(): breakiter_next: bad arguments in %s on line %d
|
H A D | breakiter_next_basic.phpt | 2 IntlBreakIterator::next(): basic test 16 var_dump($bi->next()); 17 var_dump($bi->next(2)); 18 var_dump($bi->next(-1)); 19 var_dump($bi->next(0)); 20 var_dump($bi->next(NULL));
|
/PHP-7.1/ext/mbstring/oniguruma/ |
H A D | st.c | 22 st_table_entry *next; member 209 next = ptr->next; 211 ptr = next; 235 ptr = ptr->next;\ 327 next = ptr->next; 331 ptr = next; 407 for(; ptr->next != 0; ptr = ptr->next) { 410 ptr->next = ptr->next->next; 506 ptr = ptr->next; 516 last->next = ptr->next; [all …]
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | bug39538.phpt | 5 …s is an test\", \"next data\", \"p\narsed\"","\"\r\nthis is an test\", \"next data\", \"p\r\narsed… 20 [1] => next data 28 [1] => next data 37 [1] => next data
|
/PHP-7.1/ext/session/ |
H A D | mod_mm.c | 46 struct ps_sd *next; member 89 ps_sd *ps, *next; in hash_split() local 102 next = ps->next; in hash_split() 143 if (!sd->next) { in ps_sd_new() 166 for (prev = data->hash[slot]; prev->next != sd; prev = prev->next); in ps_sd_destroy() 167 prev->next = sd->next; in ps_sd_destroy() 196 prev->next = ret->next; in ps_sd_lookup() 250 ps_sd *sd, *next; in ps_mm_destroy() local 261 next = sd->next; in ps_mm_destroy() 446 ps_sd *sd, *next; in PS_GC_FUNC() local [all …]
|
/PHP-7.1/tests/lang/ |
H A D | foreachLoopIteratorAggregate.001.phpt | 15 public function next() { 51 public function next() { 172 --> EnglishMealIterator::next (0) 177 --> EnglishMealIterator::next (1) 182 --> EnglishMealIterator::next (2) 191 --> FrenchMealIterator::next (0) 196 --> FrenchMealIterator::next (1) 201 --> FrenchMealIterator::next (2) 206 --> FrenchMealIterator::next (3) 243 --> EnglishMealIterator::next (0) [all …]
|
H A D | foreachLoopIteratorAggregate.003.phpt | 15 public function next() { 83 --> EnglishMealIterator::next (0) 88 --> EnglishMealIterator::next (1) 93 --> EnglishMealIterator::next (2) 102 --> EnglishMealIterator::next (0) 107 --> EnglishMealIterator::next (1) 112 --> EnglishMealIterator::next (2) 121 --> EnglishMealIterator::next (0) 126 --> EnglishMealIterator::next (1) 131 --> EnglishMealIterator::next (2)
|
/PHP-7.1/sapi/fpm/fpm/ |
H A D | fpm_events.c | 159 elt->next = NULL; in fpm_event_queue_add() 164 elt->next = *queue; in fpm_event_queue_add() 187 q->prev->next = q->next; in fpm_event_queue_del() 189 if (q->next) { in fpm_event_queue_del() 193 *queue = q->next; in fpm_event_queue_del() 207 q = q->next; in fpm_event_queue_del() 228 q = q->next; in fpm_event_queue_destroy() 399 q = q->next; in fpm_event_loop() 437 q->prev->next = q->next; in fpm_event_loop() 448 q = q->next; in fpm_event_loop() [all …]
|