/* Decoded by unphp.net */ --TEST-- basic array_flip test --FILE-- 1, "b" => 1, "c" => 2, "z" => 0, "d" => TRUE, "E" => FALSE, "F" => NULL, 0 => "G", 1 => "h", 2 => "i"); $trans = array_flip($trans); var_dump($trans); ?> --EXPECTF-- Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d array(6) { [1]=> string(1) "b" [2]=> string(1) "c" [0]=> string(1) "z" ["G"]=> int(0) ["h"]=> int(1) ["i"]=> int(2) }