#36165 [Opn->WFx]: "==" considered harmful

From: Date: Thu, 26 Jan 2006 13:28:57 +0000
Subject: #36165 [Opn->WFx]: "==" considered harmful
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92504@lists.php.net to get a copy of this message
ID: 36165 Updated by: tony2001@php.net Reported By: scratch65536 at att dot net -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: W2K, but irrelevant PHP Version: 4.4.2 New Comment: This is not going to happen. Previous Comments: ------------------------------------------------------------------------ [2006-01-26 14:23:41] scratch65536 at att dot net Description: ------------ To prevent "if ( $a = 2 )"-type errors, an EQ comparison operator would be very helpful. (If I had the cost of all the time lost, worldwide, on that class of error, I'd be living in a villa on the Riviera.) Although the EQ op is the only one actually needed, for symmetry's sake it would be pleasant to have the rest, too: NE,LT,LE,GE,GT). Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36165&edit=1

« previous php.bugs (#92504) next »