RE: [PHP4BETA] A strict equality operator

From: Date: Mon, 26 Jul 1999 14:00:22 +0000
Subject: RE: [PHP4BETA] A strict equality operator
Groups: php.version4 
Request: Send a blank email to php-version4+get-2763@lists.php.net to get a copy of this message
i thought about attaching a "psychological disclaimer" to that suggestion. in a perfect world, the current == would be ~ and the exactly equal would be == 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. -brian- > -----Original Message----- > From: Andrey Zmievski [mailto:zmievski@ispi.net] > Sent: Monday, July 26, 1999 9:41 AM > To: Brian Schaffner; php4beta@lists.php.net > Subject: Re: [PHP4BETA] A strict equality operator > > > Brian Schaffner wrote: > > is there something already using ~ ? > > > > if ($x ~ $y) ... > > > > > > it would make life really easy because it's a single > keystroke. plus, it > > kind of resembles an equals signs. > > When I look at it, I almost immediately think "$x is about > equal to $y". Not > exactly what we want to achieve here. > > -Andrey > * Think digital, act analog. * > > -- > PHP 4 Beta >

« previous php.version4 (#2763) next »