Re: [PHP4BETA] A strict equality operator
| From: | ryan at bucketmouth dot northpro dot net | Date: | Mon, 26 Jul 1999 18:12:19 +0000 |
| Subject: | Re: [PHP4BETA] A strict equality operator | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2801@lists.php.net to get a copy of this message | ||
What about if you tried this, though?
if ($thisis$that) {}
There'd be problems.. but.. what the heck, that could be done. ;)
Ryan
On Mon, 26 Jul 1999, Charles Capps wrote:
> Perhaps a keyword could be used?
>
> if ($this is $that) {
> ?
> --
> Charles Capps
>
>
> ----- Original Message -----
> From: Brian Schaffner <BSchaffner@accentonline.com>
> To: 'Basil Hussain' <basil.hussain@reserve.co.uk>;
> <php4beta@lists.php.net>
> Sent: Monday, July 26, 1999 10:56 AM
> Subject: RE: [PHP4BETA] A strict equality operator
>
>
> > > > If this is the case, why make it an operator with a symbol?
> > > May as well
> > > > make it look like a function. strictly_equal(a, b). No
> > > confusion there.
> >
> > that was my original thought on the subject... but figured that an
> > operator would be a little handier. here's another goofy idea:
> >
> > '='
> >
> > it could mean "literally" equal... ;-)
> >
> > -brian-
> >
> > --
> > PHP 4 Beta
> >
> >
> >
>
>
> --
> PHP 4 Beta
>