note 92071 added to function.array-diff

From: Date: Tue, 07 Jul 2009 19:19:27 +0000
Subject: note 92071 added to function.array-diff
Groups: php.notes 
Request: Send a blank email to php-notes+get-158036@lists.php.net to get a copy of this message
array_diff first converts to string, then compares strings using === (equality operator). Be extremely careful with type conversion here. ---- Server IP: 64.71.164.2 Probable Submitter: 128.146.71.165 ---- Manual Page -- http://www.php.net/manual/en/function.array-diff.php Edit -- https://master.php.net/note/edit/92071 Del: integrated -- https://master.php.net/note/delete/92071/integrated Del: useless -- https://master.php.net/note/delete/92071/useless Del: bad code -- https://master.php.net/note/delete/92071/bad+code Del: spam -- https://master.php.net/note/delete/92071/spam Del: non-english -- https://master.php.net/note/delete/92071/non-english Del: in docs -- https://master.php.net/note/delete/92071/in+docs Del: other reasons-- https://master.php.net/note/delete/92071 Reject -- https://master.php.net/note/reject/92071 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158036) next »