note 99519 added to language.operators.comparison

From: Date: Sat, 21 Aug 2010 13:14:36 +0000
Subject: note 99519 added to language.operators.comparison
Groups: php.notes 
Request: Send a blank email to php-notes+get-171912@lists.php.net to get a copy of this message
But if you change == to === you get [1234] vs [1234] string '1234' (length=4) string '1234' (length=4) EQUAL ! [1234] vs [ 1234] string '1234' (length=4) string ' 1234' (length=5) DIFFERENT ! [1234] vs [\n1234] string '1234' (length=4) string '\n1234' (length=6) DIFFERENT ! [1234] vs [1234 ] string '1234' (length=4) string '1234 ' (length=5) DIFFERENT ! [1234] vs [1234\n] string '1234' (length=4) string '1234\n' (length=6) DIFFERENT ! ---- Server IP: 69.147.83.197 Probable Submitter: 93.138.2.41 ---- Manual Page -- http://www.php.net/manual/en/language.operators.comparison.php Edit -- https://master.php.net/note/edit/99519 Del: integrated -- https://master.php.net/note/delete/99519/integrated Del: useless -- https://master.php.net/note/delete/99519/useless Del: bad code -- https://master.php.net/note/delete/99519/bad+code Del: spam -- https://master.php.net/note/delete/99519/spam Del: non-english -- https://master.php.net/note/delete/99519/non-english Del: in docs -- https://master.php.net/note/delete/99519/in+docs Del: other reasons-- https://master.php.net/note/delete/99519 Reject -- https://master.php.net/note/reject/99519 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171912) next »