Bug #12690: array_unique under windows does not work as it does under linux

From: Date: Fri, 10 Aug 2001 14:31:18 +0000
Subject: Bug #12690: array_unique under windows does not work as it does under linux
Groups: php.dev 
Request: Send a blank email to php-dev+get-62823@lists.php.net to get a copy of this message
From: colin@nexus.carleton.ca Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Arrays related Bug description: array_unique under windows does not work as it does under linux 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 ) ) -- Edit bug report at: http://bugs.php.net/?id=12690&edit=1

« previous php.dev (#62823) next »