Searched refs:array_combine (Results 1 – 11 of 11) sorted by relevance
/PHP-7.4/ext/standard/tests/array/ |
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_error2.phpt | 2 Test array_combine() function : error conditions - empty array 5 /* Prototype : array array_combine(array $keys, array $values) 11 echo "*** Testing array_combine() : error conditions specific to array_combine() ***\n"; 15 var_dump( array_combine(array(), array()) ); 17 // Testing array_combine by passing empty array to $keys 19 var_dump( array_combine(array(), array(1, 2)) ); 21 // Testing array_combine by passing empty array to $values 23 var_dump( array_combine(array(1, 2), array()) ); 27 var_dump( array_combine(array(1, 2), array(1, 2, 3)) ); 32 *** Testing array_combine() : error conditions specific to array_combine() *** [all …]
|
H A D | array_combine_variation6.phpt | 2 Test array_combine() function : usage variations - binary safe checking 5 /* Prototype : array array_combine(array $keys, array $values) 12 * Testing the behavior of array_combine() by passing array with 16 echo "*** Testing array_combine() : binary safe checking ***\n"; 23 var_dump( array_combine($arr_binary, $arr_binary) ); 26 var_dump( array_combine($arr_normal, $arr_binary) ); 29 var_dump( array_combine($arr_binary, $arr_normal) ); 34 *** Testing array_combine() : binary safe checking ***
|
H A D | array_combine_basic.phpt | 2 Test array_combine() function : basic functionality 5 /* Prototype : array array_combine(array $keys, array $values) 11 echo "*** Testing array_combine() : basic functionality ***\n"; 18 var_dump( array_combine($keys_array, $values_array) ); 23 var_dump( array_combine($keys_array, $values_array) ); 28 var_dump( array_combine($keys_array, $values_array) ); 33 *** Testing array_combine() : basic functionality ***
|
H A D | array_combine_variation5.phpt | 2 Test array_combine() function : usage variations - associative array with different values(Bug#4342… 5 /* Prototype : array array_combine(array $keys, array $values) 12 * Testing the functionality of array_combine() by passing various 17 echo "*** Testing array_combine() : assoc array with diff values to both \$keys and \$values argume… 69 // loop through each sub-array within $arrays to check the behavior of array_combine() 73 var_dump( array_combine($array, $array) ); 83 *** Testing array_combine() : assoc array with diff values to both $keys and $values argument ***
|
H A D | array_combine_variation4.phpt | 2 Test array_combine() function : usage variations - associative array with different keys(Bug#43424) 5 /* Prototype : array array_combine(array $keys, array $values) 12 * Testing the functionality of array_combine() by passing different 17 echo "*** Testing array_combine() : assoc array with diff keys to both \$keys and \$values argument… 76 // loop through each sub-array within $arrays to check the behavior of array_combine() 81 var_dump( array_combine($array, $array) ); 91 *** Testing array_combine() : assoc array with diff keys to both $keys and $values argument ***
|
H A D | array_combine_variation3.phpt | 2 Test array_combine() function : usage variations - different arrays(Bug#43424) 5 /* Prototype : array array_combine(array $keys, array $values) 13 * array_combine() behaves in an expected way with the arguments passed to the function 16 echo "*** Testing array_combine() : Passing different types of arrays to both \$keys and \$values a… 76 // loop through each sub-array within $arrays to check the behavior of array_combine() 81 var_dump( array_combine($array, $array) ); 88 *** Testing array_combine() : Passing different types of arrays to both $keys and $values argument …
|
/PHP-7.4/ext/standard/ |
H A D | php_array.h | 104 PHP_FUNCTION(array_combine);
|
H A D | basic_functions.c | 3400 PHP_FE(array_combine, arginfo_array_combine)
|
H A D | array.c | 6445 PHP_FUNCTION(array_combine) argument
|
/PHP-7.4/ |
H A D | run-tests.php | 1633 … $error_consts = array_combine(array_map('constant', $error_consts), $error_consts);
|
Completed in 57 milliseconds