Searched refs:array_combine (Results 1 – 12 of 12) sorted by relevance
/PHP-8.2/ext/standard/tests/array/ |
H A D | array_combine_error2.phpt | 2 Test array_combine() function : error conditions - empty array 5 echo "*** Testing array_combine() : error conditions specific to array_combine() ***\n"; 8 echo "\n-- Testing array_combine() function with empty arrays --\n"; 9 var_dump( array_combine(array(), array()) ); 11 // Testing array_combine by passing empty array to $keys 14 var_dump( array_combine(array(), array(1, 2)) ); 19 // Testing array_combine by passing empty array to $values 22 var_dump( array_combine(array(1, 2), array()) ); 30 var_dump( array_combine(array(1, 2), array(1, 2, 3)) ); 37 *** Testing array_combine() : error conditions specific to array_combine() *** [all …]
|
H A D | array_combine.phpt | 2 basic array_combine test 9 $a = array_combine($array1, $array1); 10 $b = array_combine($array1, $array2); 11 $c = array_combine($array1, $array3); 12 $d = array_combine($array1, $array4); 13 $e = array_combine($array2, $array1); 14 $f = array_combine($array2, $array2); 15 $g = array_combine($array2, $array3); 16 $h = array_combine($array2, $array4); 17 $i = array_combine($array3, $array1); [all …]
|
H A D | array_combine_variation6.phpt | 2 Test array_combine() function : usage variations - binary safe checking 6 * Testing the behavior of array_combine() by passing array with 10 echo "*** Testing array_combine() : binary safe checking ***\n"; 17 var_dump( array_combine($arr_binary, $arr_binary) ); 20 var_dump( array_combine($arr_normal, $arr_binary) ); 23 var_dump( array_combine($arr_binary, $arr_normal) ); 28 *** Testing array_combine() : binary safe checking ***
|
H A D | array_combine_basic.phpt | 2 Test array_combine() function : basic functionality 5 echo "*** Testing array_combine() : basic functionality ***\n"; 12 var_dump( array_combine($keys_array, $values_array) ); 17 var_dump( array_combine($keys_array, $values_array) ); 22 var_dump( array_combine($keys_array, $values_array) ); 27 *** Testing array_combine() : basic functionality ***
|
H A D | array_combine_variation4.phpt | 2 Test array_combine() function : usage variations - associative array with different keys(Bug#43424) 6 * Testing the functionality of array_combine() by passing different 11 echo "*** Testing array_combine() : assoc array with diff keys to both \$keys and \$values argument… 64 // loop through each sub-array within $arrays to check the behavior of array_combine() 69 var_dump( array_combine($array, $array) ); 79 *** Testing array_combine() : assoc array with diff keys to both $keys and $values argument ***
|
H A D | array_combine_variation5.phpt | 2 Test array_combine() function : usage variations - associative array with different values(Bug#4342… 6 * Testing the functionality of array_combine() by passing various 11 echo "*** Testing array_combine() : assoc array with diff values to both \$keys and \$values argume… 63 // loop through each sub-array within $arrays to check the behavior of array_combine() 67 var_dump( array_combine($array, $array) ); 77 *** Testing array_combine() : assoc array with diff values to both $keys and $values argument ***
|
H A D | array_combine_variation3.phpt | 2 Test array_combine() function : usage variations - different arrays(Bug#43424) 7 * array_combine() behaves in an expected way with the arguments passed to the function 10 echo "*** Testing array_combine() : Passing different types of arrays to both \$keys and \$values a… 70 // loop through each sub-array within $arrays to check the behavior of array_combine() 75 var_dump( array_combine($array, $array) ); 82 *** Testing array_combine() : Passing different types of arrays to both $keys and $values argument …
|
H A D | usort_variation11.phpt | 33 $array = array_combine($array, $array);
|
/PHP-8.2/Zend/tests/ |
H A D | gh14003.phpt | 11 array_combine(
|
/PHP-8.2/ext/standard/ |
H A D | basic_functions.stub.php | 1201 function array_combine(array $keys, array $values): array {} function
|
H A D | basic_functions_arginfo.h | 2302 ZEND_FUNCTION(array_combine); 2926 ZEND_FE(array_combine, arginfo_array_combine)
|
H A D | array.c | 6484 PHP_FUNCTION(array_combine) argument
|
Completed in 48 milliseconds