Date: 01/09/02
- Next message: holliwell <email protected>: "Re: [PHP-DOC] coding standards - draft"
- Previous message: Markus Fischer: "[PHP-DOC] cvs: phpdoc /en/functions sockets.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You are right.
The examples works as expected with PHP 4.1.1 - Apache 1.3.9
(DSO) on Debian. array_unique() does preserve the *first* key
of every related value.
However, it doesn't seem to work under Win9x, see the following
example:
Array // original
(
[2] => 4
[4] => 4
[8] => 3
[9] => 4
[5] => 3
[7] => 3
)
Array // array_unique()'d
(
[9] => 4
[5] => 3
)
I suggest to you reverting the array_unique section what you
find in rev 1.148 and put a warning about this incompatibilty.
I'll update my bug report (#14805), too.
Gyozo Papp
- gerzson <email protected>
- Next message: holliwell <email protected>: "Re: [PHP-DOC] coding standards - draft"
- Previous message: Markus Fischer: "[PHP-DOC] cvs: phpdoc /en/functions sockets.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

