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
This commit is contained in:
Anthony Ferrara 2012-06-06 12:48:32 +00:00
parent 8f0fad4c30
commit 245b748aca

View file

@ -20,8 +20,8 @@
Note that the values of <parameter>trans</parameter> need to be valid
keys, i.e. they need to be either <type>integer</type> or
<type>string</type>. A warning will be emitted if a value has the wrong
type, and the key/value pair in question <emphasis>will not be
flipped</emphasis>.
type, and the key/value pair in question <emphasis>will not be included
in the result</emphasis>.
</para>
<para>
If a value has several occurrences, the latest key will be