Re: [PHP4BETA] A strict equality operator

From: Date: Mon, 26 Jul 1999 22:05:35 +0000
Subject: Re: [PHP4BETA] A strict equality operator
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2812@lists.php.net to get a copy of this message
At 22:54 26/07/99 , Mark wrote:
On Sun, 25 Jul 1999, Andi Gutmans wrote:
Hi. Zeev and I want to add a strict equality operator that will not do
any type
conversion and will only be true if both the type of the arguments and their values are identical. Does anyone see any problems with this? We thought of using === as the operator. Comments?
What about =! Kind of reads like equals (=) and I mean it (!). Just a thought. And it's kind of the oposite of !=.
People claim === is confusing, and if I could think of just one operator that's more confusing than that, it would be =! :) Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#2812) next »