/PHP-7.3/ext/standard/tests/array/ |
H A D | each_error.phpt | 2 Test each() function : error conditions - pass incorrect number of args 5 /* Prototype : array each(array $arr) 12 * Pass an incorrect number of arguments to each() to test behaviour 15 echo "*** Testing each() : error conditions ***\n"; 18 echo "\n-- Testing each() function with Zero arguments --\n"; 19 var_dump( each() ); 21 //Test each with one more than the expected number of arguments 25 var_dump( each($arr, $extra_arg) ); 30 *** Testing each() : error conditions *** 32 -- Testing each() function with Zero arguments -- [all …]
|
H A D | each_variation1.phpt | 2 Test each() function : usage variations - Pass different data types as $arr arg 5 /* Prototype : array each(array $arr) 12 * Pass different data types as $arr arg to each() to test behaviour 15 echo "*** Testing each() : usage variations ***\n"; 86 // loop through each element of $inputs to check the behavior of each() 90 var_dump( each($input) ); 99 *** Testing each() : usage variations *** 105 Warning: Variable passed to each() is not an array or object in %s on line %d 110 Warning: Variable passed to each() is not an array or object in %s on line %d 115 Warning: Variable passed to each() is not an array or object in %s on line %d [all …]
|
H A D | each_variation5.phpt | 2 Test each() function : usage variations - Multi-dimensional arrays 5 /* Prototype : array each(array $arr) 12 * Test behaviour of each() when passed: 17 echo "*** Testing each() : usage variations ***\n"; 25 echo "\n-- Pass each() a two-dimensional array --\n"; 27 var_dump( each($arr) ); 30 echo "\n-- Pass each() a sub-array --\n"; 31 var_dump( each($arr[2])); 36 *** Testing each() : usage variations *** 38 -- Pass each() a two-dimensional array -- [all …]
|
H A D | each_variation4.phpt | 2 Test each() function : usage variations - Referenced variables 5 /* Prototype : array each(array $arr) 12 * Test behaviour of each() when: 17 echo "*** Testing each() : usage variations ***\n"; 25 echo "-- Call each until at the end of the array: --\n"; 26 var_dump( each($arr1) ); 27 var_dump( each($arr1) ); 28 var_dump( each($arr1) ); 33 *** Testing each() : usage variations *** 36 -- Call each until at the end of the array: -- [all …]
|
H A D | each_variation6.phpt | 2 Test each() function : usage variations - Internal array pointer 5 /* Prototype : array each(array $arr) 12 * Test the position of the internal array pointer after a call to each() 15 echo "*** Testing each() : usage variations ***\n"; 22 echo "\n-- Call to each(): --\n"; 23 var_dump( each($arr) ); 31 *** Testing each() : usage variations *** 36 -- Call to each(): -- 38 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
H A D | each.phpt | 2 Test each() function 33 var_dump( each($sub_array) ); 40 var_dump( each($sub_array) ); 51 var_dump( each($sub_array) ); 64 var_dump( each($resources) ); 76 var_dump( each($each_obj) ); 81 var_dump( each($null_array) ); 87 var_dump( each() ); // args = 0 94 var_dump( each($var) ); 95 var_dump( each($str) ); [all …]
|
H A D | each_basic.phpt | 2 Test each() function : basic functionality 5 /* Prototype : array each(array $arr) 12 * Test basic functionality of each() 15 echo "*** Testing each() : basic functionality ***\n"; 22 var_dump(each($arr)); 26 var_dump(each($arr)); 29 var_dump(each($arr)); 34 *** Testing each() : basic functionality *** 50 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
H A D | each_variation2.phpt | 2 Test each() function : usage variations - arrays of different data types 5 /* Prototype : array each(array $arr) 12 * Pass arrays of different data types as $arr argument to each() to test behaviour 15 echo "*** Testing each() : usage variations ***\n"; 108 // loop through each element of $inputs to check the behavior of each() 112 var_dump( each($input) ); 121 *** Testing each() : usage variations *** 125 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
H A D | each_variation3.phpt | 2 Test each() function : usage variations - keys of different data types 5 /* Prototype : array each(array $arr) 12 * Pass each() arrays where the keys are different data types to test behaviour 15 echo "*** Testing each() : usage variations ***\n"; 96 // loop through each element of $inputs to check the behavior of each() 100 var_dump( each($input) ); 107 *** Testing each() : usage variations *** 111 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
H A D | array_diff_variation7.phpt | 14 * 2. Have been referenced to each other 34 echo "-- Arrays referenced to each other --\n"; 83 -- Arrays referenced to each other --
|
/PHP-7.3/Zend/tests/ |
H A D | 007.phpt | 2 each() tests 6 var_dump(each()); 8 var_dump(each($var)); 10 var_dump(each($var)); 12 var_dump(each($var)); 14 var_dump(each($var)); 19 var_dump(each($a)); 25 Warning: each() expects exactly 1 parameter, 0 given in %s on line %d 28 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in … 30 Warning: Variable passed to each() is not an array or object in %s on line %d [all …]
|
H A D | each_002.phpt | 2 Testing each() with array and object 7 $foo = each($a); 11 var_dump(each($a)); 14 var_dump(each($a)); 19 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
H A D | each_001.phpt | 2 Testing each() with an undefined variable 6 each($foo); 10 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in … 12 Warning: Variable passed to each() is not an array or object in %s on line %d
|
H A D | each_003.phpt | 2 Testing each() with recursion 11 var_dump(each($a[1])); 15 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
/PHP-7.3/tests/lang/ |
H A D | 031.phpt | 11 while(list(,$o) = each($arrayOuter)){ 13 while(list(,$i) = each($arrayInner)){ 22 while(list(,$o) = each($arrayOuter)){ 23 while(list(,$i) = each($arrayInner)){ 32 while(list(,$o) = each($arrayOuter)){ 34 while(list(,$i) = each($arrayInner)){ 43 while(list(,$o) = each($arrayOuter)){ 45 while(list(,$i) = each($placeholder)){ 55 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
H A D | each_binary_safety.phpt | 2 Binary safety of each() for both keys and values 7 while (list($key, $val) = each($arr)) { 13 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in …
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | str_split_variation2_64bit.phpt | 11 specified, break the string down into chunks each 86 // loop through each element of $values for 'split_length' 110 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 119 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 123 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 147 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 151 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 204 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 257 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 281 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d [all …]
|
H A D | str_split_variation2.phpt | 11 specified, break the string down into chunks each 86 // loop through each element of $values for 'split_length' 110 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… 118 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… 122 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… 146 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… 150 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… 203 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… 256 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… 280 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation… [all …]
|
H A D | str_split_variation7_64bit.phpt | 11 specified, break the string down into chunks each 39 //loop through each element of $values for 'split_length' 50 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 117 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 143 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
|
H A D | str_split_variation6.phpt | 11 specified, break the string down into chunks each 37 //loop through each element of $values for 'split_length' 48 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 139 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 164 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
|
H A D | str_split_variation6_64bit.phpt | 11 specified, break the string down into chunks each 37 //loop through each element of $values for 'split_length' 48 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 139 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 165 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
|
H A D | str_split_variation7.phpt | 11 specified, break the string down into chunks each 39 //loop through each element of $values for 'split_length' 50 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 117 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d 142 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
|
/PHP-7.3/ext/intl/tests/ |
H A D | symfony_format_type_int32_intl2.phpt | 8 // StubNumberFormatterTest#testFormatTypeInt32Intl is tested many times, each with different args. 9 // there are 7 sets of args that crash PHP (and other args that don't), each of those 7 is now a se… 10 // to ensure that each of the 7 args are always tested.
|
/PHP-7.3/ext/gd/tests/ |
H A D | imagesetbrush_basic.phpt | 26 // Draw a couple of brushes, each overlaying each
|
/PHP-7.3/ext/zlib/tests/ |
H A D | gzencode_variation2.phpt | 26 echo "\n-- Testing with each encoding_mode --\n"; 36 -- Testing with each encoding_mode --
|