/PHP-5.4/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) ); 31 *** Testing each() : error conditions *** 33 -- 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) ); 100 *** Testing each() : usage variations *** 104 Warning: Variable passed to each() is not an array or object in %s on line %d 109 Warning: Variable passed to each() is not an array or object in %s on line %d 114 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])); 37 *** Testing each() : usage variations *** 39 -- 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) ); 34 *** Testing each() : usage variations *** 37 -- Call each until at the end of the array: --
|
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_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) ); 32 *** Testing each() : usage variations *** 37 -- Call to each(): --
|
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 ***
|
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) ); 122 *** Testing each() : usage variations ***
|
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) ); 108 *** Testing each() : usage variations ***
|
H A D | array_diff_variation7.phpt | 14 * 2. Have been referenced to each other 34 echo "-- Arrays referenced to each other --\n"; 85 -- Arrays referenced to each other --
|
/PHP-5.4/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 Warning: Variable passed to each() is not an array or object in %s on line %d 31 Warning: Variable passed to each() is not an array or object in %s on line %d
|
H A D | each_002.phpt | 2 Testing each() with array and object 6 $foo = each(new stdClass); 9 var_dump(each(new stdClass)); 12 var_dump(each($a));
|
H A D | each_001.phpt | 2 Testing each() with an undefined variable 6 each($foo); 10 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 9 var_dump(each($a[1]));
|
/PHP-5.4/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)){
|
H A D | each_binary_safety.phpt | 2 Binary safety of each() for both keys and values 7 while (list($key, $val) = each($arr)) {
|
/PHP-5.4/ext/standard/tests/strings/ |
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… 114 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… [all …]
|
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_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 160 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_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 138 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
|
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_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
|
/PHP-5.4/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-5.4/ext/gd/tests/ |
H A D | imagesetbrush_basic.phpt | 26 // Draw a couple of brushes, each overlaying each
|
/PHP-5.4/ext/zlib/tests/ |
H A D | gzencode_variation2.phpt | 26 echo "\n-- Testing with each encoding_mode --\n"; 36 -- Testing with each encoding_mode --
|