Home
last modified time | relevance | path

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

12345678910>>...21

/PHP-7.3/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_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_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 ***
101 Warning: next() expects parameter 1 to be array, int given in %s on line %d
106 Warning: next() expects parameter 1 to be array, int given in %s on line %d
111 Warning: next() expects parameter 1 to be array, int given in %s on line %d
[all …]
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.3/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.3/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.3/Zend/
H A Dzend_llist.c39 tmp->next = NULL; in zend_llist_add_element()
41 l->tail->next = tmp; in zend_llist_add_element()
56 tmp->next = l->head; in zend_llist_prepend_element()
72 (current)->prev->next = (current)->next;\
76 if ((current)->next) {\
97 current = current->next; in zend_llist_del_element()
107 next = current->next; in zend_llist_destroy()
112 current = next; in zend_llist_destroy()
157 ptr = ptr->next; in zend_llist_copy()
168 next = element->next; in zend_llist_apply_with_del()
[all …]
/PHP-7.3/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.3/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.3/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 int, 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.3/ext/mbstring/oniguruma/src/
H A Dst.c22 st_table_entry *next; member
216 next = ptr->next;
218 ptr = next;
242 ptr = ptr->next;\
336 next = ptr->next;
340 ptr = next;
383 ptr = ptr->next;
416 for(; ptr->next != 0; ptr = ptr->next) {
418 tmp = ptr->next;
419 ptr->next = ptr->next->next;
[all …]
/PHP-7.3/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.3/ext/session/
H A Dmod_mm.c44 struct ps_sd *next; member
87 ps_sd *ps, *next; in hash_split() local
100 next = ps->next; in hash_split()
141 if (!sd->next) { in ps_sd_new()
164 for (prev = data->hash[slot]; prev->next != sd; prev = prev->next); in ps_sd_destroy()
165 prev->next = sd->next; in ps_sd_destroy()
194 prev->next = ret->next; in ps_sd_lookup()
248 ps_sd *sd, *next; in ps_mm_destroy() local
259 next = sd->next; in ps_mm_destroy()
444 ps_sd *sd, *next; in PS_GC_FUNC() local
[all …]
/PHP-7.3/Zend/tests/
H A Dbug77345_gc_1.phpt13 public $next;
21 $firstNode->next = $firstNode;
27 $nextNode = $circularDoublyLinkedList->next;
32 $currentNode->next = $newNode;
33 $newNode->next = $nextNode;
H A Dbug77345_gc_2.phpt13 public $next;
22 $firstNode->next = $firstNode;
28 $nextNode = $circularDoublyLinkedList->next;
33 $currentNode->next = $newNode;
34 $newNode->next = $nextNode;
/PHP-7.3/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)

Completed in 48 milliseconds

12345678910>>...21