note 88099 deleted from language.operators.logical by danbrown
| From: | danbrown@php.net | Date: | Sat, 10 Jan 2009 17:05:13 +0000 |
| Subject: | note 88099 deleted from language.operators.logical by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149032@lists.php.net to get a copy of this message | ||
Note Submitter: projects at terra dot electorum dot com
----
>>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.