note 103836 added to function.in-array

From: Date: Fri, 06 May 2011 02:31:38 +0000
Subject: note 103836 added to function.in-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-179474@lists.php.net to get a copy of this message
@Sascha Luedi Not sure why you consider that strange behaviour, that is expected behaviour for in_array. Php will convert the needle to an integer because you do not have the strict comparison arg added. ---- Server IP: 69.147.83.197 Probable Submitter: 222.152.251.121 ---- Manual Page -- http://www.php.net/manual/en/function.in-array.php Edit -- https://master.php.net/note/edit/103836 Del: integrated -- https://master.php.net/note/delete/103836/integrated Del: useless -- https://master.php.net/note/delete/103836/useless Del: bad code -- https://master.php.net/note/delete/103836/bad+code Del: spam -- https://master.php.net/note/delete/103836/spam Del: non-english -- https://master.php.net/note/delete/103836/non-english Del: in docs -- https://master.php.net/note/delete/103836/in+docs Del: other reasons-- https://master.php.net/note/delete/103836 Reject -- https://master.php.net/note/reject/103836 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179474) next »