I ever wondered why this doesn't exist. But i do not see a real reason to add this.
Marcus At 11:58 08.03.2002, you wrote: >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 > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php