note 80899 added to language.operators.assignment
| From: | HayleyWatson at osu1 dot php dot net | Date: | Wed, 06 Feb 2008 01:54:11 +0000 |
| Subject: | note 80899 added to language.operators.assignment | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135810@lists.php.net to get a copy of this message | ||
You could also take adam at gmail dot com's xor-assignment operator and use the fact that
it's right-associative:
$a ^= $b ^= $a ^= $b;
----
Server IP: 203.89.181.186
Probable Submitter: 60.234.168.92
----
Manual Page -- http://www.php.net/manual/en/language.operators.assignment.php
Edit -- https://master.php.net/note/edit/80899
Del: integrated -- https://master.php.net/note/delete/80899/integrated
Del: useless -- https://master.php.net/note/delete/80899/useless
Del: bad code -- https://master.php.net/note/delete/80899/bad+code
Del: spam -- https://master.php.net/note/delete/80899/spam
Del: non-english -- https://master.php.net/note/delete/80899/non-english
Del: in docs -- https://master.php.net/note/delete/80899/in+docs
Del: other reasons-- https://master.php.net/note/delete/80899
Reject -- https://master.php.net/note/reject/80899
Search -- https://master.php.net/manage/user-notes.php