Re: [PHP4BETA] A strict equality operator
| From: | Charles Capps | Date: | Mon, 26 Jul 1999 18:10:34 +0000 |
| Subject: | Re: [PHP4BETA] A strict equality operator | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2800@lists.php.net to get a copy of this message | ||
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
>
>
>