actually it could be proposed to C in 1970 in a same manner for += operator by saying +== and +=== and also +====. But hence Dennis Ritchie is dead and he accepted += as a founding father, we have no chance to ask him. Can we ask maybe to Bjarne Stroustrup as being one of another founding fathers? Is there anyone being in contact with him?
> On 24 Mar 2016, at 21:12, James Titcumb <ja...@asgrim.com> wrote: > > On 24 Mar 2016 19:43, "Mutlu Kocak" <mtko...@mtkocak.net> wrote: >> >> he is trolling :) >> > > I wouldn't dismiss this idea straight off. I can see a lot of practical > uses for chaining assignment operators, like: > > $a !==<=>==== $b; > > Expanded from: > > $a = $a !== (($a <=> $b) === $b); > > Which is something I often do in my production applications. In fact I > typed this exact use case about 12 times just today. > > It's a good, expressive way of simplifying code and increasing readability. > This would really complete the language IMO. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php