Home
last modified time | relevance | path

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

/PHP-5.6/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' ***
105 Warning: array_flip() expects parameter 1 to be array, double given in %s on line %d
109 Warning: array_flip() expects parameter 1 to be array, double given in %s on line %d
125 Warning: array_flip() expects parameter 1 to be array, null given in %s on line %d
129 Warning: array_flip() expects parameter 1 to be array, null given in %s on line %d
169 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-5.6/tests/lang/
H A Dbug24652.phpt2 Bug #24652 (broken array_flip())
13 $f = array_flip(array('7'));
/PHP-5.6/ext/dom/tests/
H A Ddomdocumentload_utilities.php7 $libxml_constants = array_intersect_key($defined_constants['libxml'], array_flip($env_array));
/PHP-5.6/Zend/
H A Dzend_vm_gen.php1099 $op1 = array_flip(explode("|",$m[3]));
1100 $op2 = array_flip(explode("|",$m[4]));
1128 $op1 = array_flip(explode("|",$m[2]));
1129 $op2 = array_flip(explode("|",$m[3]));
1145 $op1 = array_flip(explode("|",$m[2]));
1146 $op2 = array_flip(explode("|",$m[3]));
/PHP-5.6/ext/standard/
H A Dphp_array.h78 PHP_FUNCTION(array_flip);
H A Darray.c2616 PHP_FUNCTION(array_flip) in PHP_FUNCTION() argument
H A Dbasic_functions.c3309 PHP_FE(array_flip, arginfo_array_flip)
/PHP-5.6/ext/phar/tests/files/
H A Dpear2coverage.phar.php607 $test = array_flip($xdebugs);
889 $test = array_flip($xdebugs);

Completed in 52 milliseconds