mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Update array_unique() documentation wrt 7853832234
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342752 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d2df296582
commit
b210b056cd
1 changed files with 3 additions and 5 deletions
|
@ -18,11 +18,9 @@
|
|||
without duplicate values.
|
||||
</para>
|
||||
<para>
|
||||
Note that keys are preserved. <function>array_unique</function> sorts
|
||||
the values treated as string at first, then will keep the first key
|
||||
encountered for every value, and ignore all following keys. It does not
|
||||
mean that the key of the first related value from the unsorted
|
||||
<parameter>array</parameter> will be kept.
|
||||
Note that keys are preserved. If multiple elements compare equal under
|
||||
the given <parameter>sort_flags</parameter>, then the key and value of
|
||||
the first equal element will be retained.
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
|
|
Loading…
Reference in a new issue