note 88099 added to language.operators.logical

From: Date: Sat, 10 Jan 2009 11:13:28 +0000
Subject: note 88099 added to language.operators.logical
Groups: php.notes 
Request: Send a blank email to php-notes+get-149027@lists.php.net to get a copy of this message
>>quote <?php $a = false xor true; var_dump($a); // bool(false) $a = (false xor true); var_dump($a); // bool(true) ?> >>quote it's strange example for 'precedence': we have simple expression($a = false xor true;), absolutely. where difference between $a = false xor true; and $a = (false xor true); this is same things. ---- Server IP: 195.54.192.44 Probable Submitter: 127.0.0.1 ---- Manual Page -- http://www.php.net/manual/en/language.operators.logical.php Edit -- https://master.php.net/note/edit/88099 Del: integrated -- https://master.php.net/note/delete/88099/integrated Del: useless -- https://master.php.net/note/delete/88099/useless Del: bad code -- https://master.php.net/note/delete/88099/bad+code Del: spam -- https://master.php.net/note/delete/88099/spam Del: non-english -- https://master.php.net/note/delete/88099/non-english Del: in docs -- https://master.php.net/note/delete/88099/in+docs Del: other reasons-- https://master.php.net/note/delete/88099 Reject -- https://master.php.net/note/reject/88099 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149027) next »