Operator missing?
| From: | Alberto Serra | Date: | Wed, 10 Jul 2002 08:20:11 +0000 |
| Subject: | Operator missing? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106706@lists.php.net to get a copy of this message | ||
Привет!
in PHP we have a set of comparison operators going like
$a == $b (has same value)
$a === $b (has same value and type)
shouldn't we have also something like
$a =&= $b (is same instance)?
Maybe we already have it and I just don't know about it. Is that so?
Because of the copy/reference mechanism it would really be helpful in order to check one's work in referencing objects.
пока
Альберто
Киев
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is.......