From 245b748aca8884bbf3abf3d7536b20a4ff7e7662 Mon Sep 17 00:00:00 2001 From: Anthony Ferrara Date: Wed, 6 Jun 2012 12:48:32 +0000 Subject: [PATCH] Corrects the doc for array_flip to match the observed behavior when the input contains values that are not valid keys. -- Provided by John Papaioannou (john.papaioannou@gmail.com) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325999 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-flip.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/array/functions/array-flip.xml b/reference/array/functions/array-flip.xml index eb147d5572..6d3636b454 100644 --- a/reference/array/functions/array-flip.xml +++ b/reference/array/functions/array-flip.xml @@ -20,8 +20,8 @@ Note that the values of trans need to be valid keys, i.e. they need to be either integer or string. A warning will be emitted if a value has the wrong - type, and the key/value pair in question will not be - flipped. + type, and the key/value pair in question will not be included + in the result. If a value has several occurrences, the latest key will be