note 108761 added to language.operators.comparison

From: Date: Wed, 23 May 2012 14:57:01 +0000
Subject: note 108761 added to language.operators.comparison
Groups: php.notes 
Request: Send a blank email to php-notes+get-188161@lists.php.net to get a copy of this message
maybe I'm violating rule of 'References to other notes or authors' But, in Note of mail at markuszeller dot com 04-Aug-2010 01:40 there's an error in the concept. Did you mean if (!($a == 'hello')) instead of if (!$a == 'hello') ? If $a='hello', then !$a equals false. Then, the condition will be allways false. ---- Server IP: 69.147.83.197 Probable Submitter: 190.101.111.58 ---- Manual Page -- http://www.php.net/manual/en/language.operators.comparison.php Edit -- https://master.php.net/note/edit/108761 Del: integrated -- https://master.php.net/note/delete/108761/integrated Del: useless -- https://master.php.net/note/delete/108761/useless Del: bad code -- https://master.php.net/note/delete/108761/bad+code Del: spam -- https://master.php.net/note/delete/108761/spam Del: non-english -- https://master.php.net/note/delete/108761/non-english Del: in docs -- https://master.php.net/note/delete/108761/in+docs Del: other reasons-- https://master.php.net/note/delete/108761 Reject -- https://master.php.net/note/reject/108761 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188161) next »