note 77989 added to function.array-diff

From: Date: Sun, 23 Sep 2007 01:22:15 +0000
Subject: note 77989 added to function.array-diff
Groups: php.notes 
Request: Send a blank email to php-notes+get-130700@lists.php.net to get a copy of this message
The comment from "alex at bacan dot cl_remove_this_for_email" (the fifth from the bottom of the page as I write this) is wrong--maybe it worked around a bug in 2002 when it was written but it's not valid today. His array_minus_array() function does nothing different from array_diff. Gave me a heart attack for a second thinking my last project (which made heavy use of set operations) was flawed... ---- Server IP: 64.71.164.2 Probable Submitter: 68.80.161.46 ---- Manual Page -- http://www.php.net/manual/en/function.array-diff.php Edit -- https://master.php.net/note/edit/77989 Del: integrated -- https://master.php.net/note/delete/77989/integrated Del: useless -- https://master.php.net/note/delete/77989/useless Del: bad code -- https://master.php.net/note/delete/77989/bad+code Del: spam -- https://master.php.net/note/delete/77989/spam Del: non-english -- https://master.php.net/note/delete/77989/non-english Del: in docs -- https://master.php.net/note/delete/77989/in+docs Del: other reasons-- https://master.php.net/note/delete/77989 Reject -- https://master.php.net/note/reject/77989 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130700) next »