Searched refs:array_flip (Results 1 – 17 of 17) sorted by relevance
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_flip_error.phpt | 2 Test array_flip() function : error conditions 5 /* Prototype : array array_flip(array $input) 10 echo "*** Testing array_flip() : error conditions ***\n"; 13 echo "-- Testing array_flip() function with Zero arguments --\n"; 14 var_dump( array_flip() ); 20 var_dump( array_flip($input, $extra_arg) ); 25 *** Testing array_flip() : error conditions *** 26 -- Testing array_flip() function with Zero arguments -- 28 Warning: array_flip() expects exactly 1 parameter, 0 given in %s on line %d 30 -- Testing array_flip() function with more than expected no. of arguments -- [all …]
|
H A D | array_flip_variation1.phpt | 2 Test array_flip() function : usage variations - unexpected values for 'input' argument 5 /* Prototype : array array_flip(array $input) 10 echo "*** Testing array_flip() : usage variations - unexpected values for 'input' ***\n"; 77 var_dump( array_flip($values[$count]) ); 86 *** Testing array_flip() : usage variations - unexpected values for 'input' *** 105 Warning: array_flip() expects parameter 1 to be array, float given in %s on line %d 109 Warning: array_flip() expects parameter 1 to be array, float given in %s on line %d 113 Warning: array_flip() expects parameter 1 to be array, float given in %s on line %d 117 Warning: array_flip() expects parameter 1 to be array, float given in %s on line %d 125 Warning: array_flip() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | array_flip_variation4.phpt | 5 /* Prototype : array array_flip(array $input) 55 var_dump( array_flip($input) ); 63 *** Testing array_flip() : different invalid values in 'input' array argument *** 65 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 67 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 69 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 71 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 73 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 75 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 77 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d [all …]
|
H A D | array_flip_basic.phpt | 2 Test array_flip() function : basic functionality 5 /* Prototype : array array_flip(array $input) 10 echo "*** Testing array_flip() : basic functionality ***\n"; 14 var_dump( array_flip($input) ); 18 var_dump( array_flip($input) ); 22 var_dump( array_flip($input) ); 26 var_dump( array_flip($input) ); 30 var_dump( array_flip($input) ); 34 *** Testing array_flip() : basic functionality ***
|
H A D | array_flip_variation5.phpt | 2 Test array_flip() function : usage variations - 'input' argument with repeatitive keys and values 5 /* Prototype : array array_flip(array $input) 14 echo "*** Testing array_flip() : 'input' array with repeatitive keys/values ***\n"; 18 var_dump( array_flip($input) ); 22 var_dump( array_flip($input) ); 26 var_dump( array_flip($input) ); 30 var_dump( array_flip($input) ); 34 var_dump( array_flip($input) ); 38 var_dump( array_flip($input) ); 43 *** Testing array_flip() : 'input' array with repeatitive keys/values ***
|
H A D | array_flip.phpt | 2 basic array_flip test 15 $trans = array_flip($trans); 19 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 21 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 23 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d
|
H A D | array_flip_variation2.phpt | 2 Test array_flip() function : usage variations - 'input' array with different keys 5 /* Prototype : array array_flip(array $input) 14 echo "*** Testing array_flip() : different keys for 'input' array argument ***\n"; 67 var_dump( array_flip($input) ); 72 *** Testing array_flip() : different keys for 'input' array argument ***
|
H A D | array_flip_variation3.phpt | 2 Test array_flip() function : usage variations - 'input' argument with different valid values 5 /* Prototype : array array_flip(array $input) 15 echo "*** Testing array_flip() : different valid values in 'input' array argument ***\n"; 66 var_dump( array_flip($input) ); 71 *** Testing array_flip() : different valid values in 'input' array argument ***
|
H A D | array_intersect_key.phpt | 10 $a_f = array_flip($a); 11 $b_f = array_flip($b); 12 $c_f = array_flip($c); 13 $d_f = array_flip($d);
|
H A D | array_diff_key.phpt | 9 $a_f = array_flip($a); 10 $b_f = array_flip($b); 11 $c_f = array_flip($c); 12 $d_f = array_flip($d);
|
/PHP-7.2/tests/lang/ |
H A D | bug24652.phpt | 2 Bug #24652 (broken array_flip()) 13 $f = array_flip(array('7'));
|
/PHP-7.2/ext/dom/tests/ |
H A D | domdocumentload_utilities.php | 7 $libxml_constants = array_intersect_key($defined_constants['libxml'], array_flip($env_array));
|
/PHP-7.2/ext/standard/ |
H A D | php_array.h | 78 PHP_FUNCTION(array_flip);
|
H A D | basic_functions.c | 3351 PHP_FE(array_flip, arginfo_array_flip)
|
H A D | array.c | 4398 PHP_FUNCTION(array_flip) argument
|
/PHP-7.2/Zend/ |
H A D | zend_vm_gen.php | 1105 $diff = array_diff_key(array_flip($op_types), isset($dsc["op1"]) ? $dsc["op1"] : array()); 1110 $diff = array_diff_key(array_flip($op_types), isset($dsc["op2"]) ? $dsc["op2"] : array()); 1971 return array_flip($a);
|
/PHP-7.2/ext/phar/tests/files/ |
H A D | pear2coverage.phar.php | 607 $test = array_flip($xdebugs); 889 $test = array_flip($xdebugs);
|
Completed in 53 milliseconds