RE: [PHP4BETA] A strict equality operator
| From: | Brian Schaffner | Date: | Mon, 26 Jul 1999 14:30:26 +0000 |
| Subject: | RE: [PHP4BETA] A strict equality operator | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2767@lists.php.net to get a copy of this message | ||
> > > here's another suggestion:
> > >
> > > [=]
> > >
> > > if ($x [=] $y) ...
> > >
> > > it rolls nicely off the hand as well.
> > >
> > > of course, i don't know if that falls into the ?= parser
> category Zeev
> > > mentioned.
> >
> >I actually like this one. It's easy to type and you can
> have [>] [<] [!=]
> >and so on.
>
> It's pretty weird but it would differentiate itself very
> nicely from all
> other operators. I think it also has more of a real meaning
> than =:= $== etc...
>
> Nice idea! I think I could live with it :)
but the real question: does it interfere with the *=, +=, -= stuff that
Zeev had mentioned in a previous message?
-brian-