note 9067 deleted from array_intersect by zak

From: Date: Fri, 19 Jan 2001 23:02:22 +0000
Subject: note 9067 deleted from array_intersect by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9982@lists.php.net to get a copy of this message
array_intersect() preserves - as mentioned - the keys for the resulting array, but changes the order of the contained elements. the resulting array seems to be sorted (alphabetically in my test script) by the array values (at least for PHP 4.0.2). I posted a feature/change request, maybe this behavior will be fixed (since order is imho an essential feature of arrays. that should be respected)

« previous php.notes (#9982) next »