Home
last modified time | relevance | path

Searched refs:array_flip (Results 1 – 18 of 18) sorted by relevance

/PHP-7.3/ext/standard/tests/array/
H A Darray_flip_error.phpt2 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 Darray_flip_variation1.phpt2 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' ***
89 Warning: array_flip() expects parameter 1 to be array, int given in %s on line %d
93 Warning: array_flip() expects parameter 1 to be array, int given in %s on line %d
97 Warning: array_flip() expects parameter 1 to be array, int given in %s on line %d
101 Warning: array_flip() expects parameter 1 to be array, int 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 Darray_flip_variation4.phpt5 /* 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 Darray_flip_basic.phpt2 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 Darray_flip_variation5.phpt2 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 Darray_flip.phpt2 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 Darray_flip_variation2.phpt2 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 Darray_flip_variation3.phpt2 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 Darray_intersect_key.phpt10 $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 Darray_diff_key.phpt9 $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.3/tests/lang/
H A Dbug24652.phpt2 Bug #24652 (broken array_flip())
13 $f = array_flip(array('7'));
/PHP-7.3/ext/dom/tests/
H A Ddomdocumentload_utilities.php7 $libxml_constants = array_intersect_key($defined_constants['libxml'], array_flip($env_array));
/PHP-7.3/ext/standard/
H A Dphp_array.h78 PHP_FUNCTION(array_flip);
H A Dbasic_functions.c3380 PHP_FE(array_flip, arginfo_array_flip)
H A Darray.c4382 PHP_FUNCTION(array_flip) argument
/PHP-7.3/ext/mbstring/ucgendat/
H A Ducgendat.php89 $this->propIndexes = array_flip([
/PHP-7.3/ext/phar/tests/files/
H A Dpear2coverage.phar.php607 $test = array_flip($xdebugs);
889 $test = array_flip($xdebugs);
/PHP-7.3/Zend/
H A Dzend_vm_gen.php2235 return array_flip($a);

Completed in 69 milliseconds