RE: [PHP4BETA] A strict equality operator

From: Date: Mon, 26 Jul 1999 19:39:42 +0000
Subject: RE: [PHP4BETA] A strict equality operator
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2803@lists.php.net to get a copy of this message
Well... This is valid: $a[$c [=] $d ? 1 : 2] = "test"; I figure the parser wont like this very much, but.. what do I know. I guess I vote for something like =|= , =:= , etc. Sander > -----Original Message----- > From: Brian Schaffner [mailto:BSchaffner@accentonline.com] > Sent: Monday, July 26, 1999 20:17 > To: php4beta@lists.php.net > Subject: RE: [PHP4BETA] A strict equality operator > > > > Then what's wrong with [=]? IMHO, it looks better and conveys > > better meaning. > > although I am biased towards [=] - I agree that its better because it's > extensible. You can have [!=] [<] [>] , [etc]... > > that would help clarify expressions like the following: > > if ("1" < 2) ... > > > -brian- > > -- > PHP 4 Beta >

« previous php.version4 (#2803) next »