Date: 09/15/01
- Next message: joseph_a <email protected>: "[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument"
- Previous message: sterling <email protected>: "[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument"
- Next in thread: Jeroen van Wolffelaar: "[PHP-DEV] Re: Bug #12690 Updated: array_unique under windows does not work as it does under linux"
- Reply: Jeroen van Wolffelaar: "[PHP-DEV] Re: Bug #12690 Updated: array_unique under windows does not work as it does under linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
then why does this work in version 4.0.4 ?
Bug Database wrote:
>ID: 12690
>Updated by: jeroen
>Reported By: colin <email protected>
>Old Status: Open
>Status: Bogus
>Bug Type: Arrays related
>Operating System: Windows 2000
>PHP Version: 4.0.6
>New Comment:
>
>Array_unique isn't supposed to handle multi-dimension arrays, nor objects.
>
>See also 10658
>
>Previous Comments:
>------------------------------------------------------------------------
>
>[2001-08-10 10:31:18] colin <email protected>
>
>in linux, the following array would be UNCHANGED after being put through array_unique. But, in windows you'll see below, the it doesn't seem to go deeper into the value of each array element to check if they are the same or different.
>
>the following are the results from using array_unique on wnidows 2000
>BEFORE
>
>Array
>(
> [0] => Array
> (
> [0] => 4003
> [1] => 50140
> [2] => 1
> )
>
> [1] => Array
> (
> [0] => 4001
> [1] => 50140
> [2] => 1
> )
>
> [2] => Array
> (
> [0] => 2051
> [1] => 50200
> [2] => 1
> )
>
> [3] => Array
> (
> [0] => 998
> [1] => 50190
> [2] => 1
> )
>
>)
>
>AFTER ARRAY_UNIQUE
>
>Array
>(
> [1] => Array
> (
> [0] => 4001
> [1] => 50140
> [2] => 1
> )
>
>)
>
>
>
>------------------------------------------------------------------------
>
>
>
>ATTENTION! Do NOT reply to this email!
>To reply, use the web interface found at http://bugs.php.net/?id=12690&edit=2
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: joseph_a <email protected>: "[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument"
- Previous message: sterling <email protected>: "[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument"
- Next in thread: Jeroen van Wolffelaar: "[PHP-DEV] Re: Bug #12690 Updated: array_unique under windows does not work as it does under linux"
- Reply: Jeroen van Wolffelaar: "[PHP-DEV] Re: Bug #12690 Updated: array_unique under windows does not work as it does under linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

