note 105495 deleted from language.operators.comparison by danbrown

From: Date: Mon, 22 Aug 2011 22:44:33 +0000
Subject: note 105495 deleted from language.operators.comparison by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-182664@lists.php.net to get a copy of this message
Note Submitter: alexandrefelipemuller at gmail dot com Reason: useless ---- I think it's wrong behavior! Because if you compare: 0 == 'A' it returns true. But is wrong because if it converts to int, it should converts to 65 (ascii A) not 0! This is against the logic. I understand that it's "expected" from language, but it's obviously wrong.

« previous php.notes (#182664) next »