Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 509) sorted by relevance

12345678910>>...21

/PHP-7.2/ext/standard/tests/array/
H A Dnext_error.phpt2 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 Dnext_variation1.phpt2 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 Dnext_basic.phpt2 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 Dnext_variation2.phpt2 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.2/tests/classes/
H A Diterators_001.phpt95 c_iter::next
99 c_iter::next
103 c_iter::next
111 c_iter::next
115 c_iter::next
119 c_iter::next
131 c_iter::next
135 c_iter::next
139 c_iter::next
141 c_iter::next
[all …]
/PHP-7.2/ext/spl/tests/
H A Diterator_007.phpt28 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 Dbug61527.phpt9 $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 Diterator_008.phpt28 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 Dfixedarray_019.phpt14 public function next() {
15 echo "next\n";
16 return parent::next();
40 next
45 next
50 next
H A Diterator_039.phpt41 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 Dfixedarray_003.phpt25 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.2/Zend/
H A Dzend_llist.c41 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 Dzend_gc.c153 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()
753 buf->next = GC_G(roots).next; in gc_add_garbage()
907 gc_root_buffer *next = current->next; local
916 current = next;
931 GC_G(to_free).next = GC_G(roots).next;
937 GC_G(to_free).prev->next = GC_G(roots).next;
1104 to_free.next = GC_G(to_free).next;
1204 next = current->next;
[all …]
/PHP-7.2/ext/zip/lib/
H A Dzip_extra_field.c60 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 Dzip_hash.c42 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.2/ext/date/tests/
H A Dbug72719.phpt5 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 Dbug51096.phpt8 '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.2/ext/intl/tests/
H A Dbreakiter_next_error.phpt2 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 Dbreakiter_next_basic.phpt2 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.2/ext/mbstring/oniguruma/src/
H A Dst.c22 st_table_entry *next; member
217 next = ptr->next;
219 ptr = next;
243 ptr = ptr->next;\
338 next = ptr->next;
342 ptr = next;
418 for(; ptr->next != 0; ptr = ptr->next) {
421 ptr->next = ptr->next->next;
517 ptr = ptr->next;
527 last->next = ptr->next;
[all …]
/PHP-7.2/ext/standard/tests/file/
H A Dbug39538.phpt5 …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.2/ext/session/
H A Dmod_mm.c46 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.2/tests/lang/
H A DforeachLoopIteratorAggregate.001.phpt15 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 DforeachLoopIteratorAggregate.003.phpt15 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.2/sapi/fpm/fpm/
H A Dfpm_events.c159 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 …]

Completed in 60 milliseconds

12345678910>>...21