Re: ||=
| From: | Andi Gutmans | Date: | Fri, 08 Mar 2002 10:58:40 +0000 |
| Subject: | Re: ||= | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-80924@lists.php.net to get a copy of this message | ||
For some reason this doesn't exist in other languages like C++ and Java.
I don't object to adding this as long as their is no good reason why those languages didn't support these.
What do other people think?
Andi
At 20:26 07/03/2002 +0200, Andrey Hristov wrote:
Hi, I found that $some ||= true_or_false(); is not a valid construction but $some |= true_or_false(); is valid one. AFAIK | is arithmetic but || is logical. So what devs community thinks about ||= (and possibly &&=). Best regards, Andrey Hristov -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php