RE: [PHP4BETA] A strict equality operator

From: Date: Mon, 26 Jul 1999 23:22:15 +0000
Subject: RE: [PHP4BETA] A strict equality operator
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2822@lists.php.net to get a copy of this message
At 23:23 26/07/99 , Steven Roussey wrote:
or
        if ($x EQ $y)
to remind us of the old fortran days..
We don't have character operators anywhere else in PHP, I don't think it would be a good thing to start them now... I also find it difficult to relate to the old fortran days :) I think that if we try to put things in order, we basically have the =~= / =:= approach, and the [=] approach I personally think that visually, [=] doesn't look right since it looks just like an array offset, and in a way, as an expression in itself (enclosed by parentheses). It could be just me though. I think I like =~= best. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#2822) next »