php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36165 "==" considered harmful
Submitted: 2006-01-26 14:23 UTC Modified: 2006-01-27 11:25 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: scratch65536 at att dot net Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.4.2 OS: W2K, but irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: scratch65536 at att dot net
New email:
PHP Version: OS:

 

 [2006-01-26 14:23 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-26 14:28 UTC] tony2001@php.net
This is not going to happen.
 [2006-01-27 11:25 UTC] scratch65536 at att dot net
I can recall Maurice Wilkes sending an auditorium filled with engineers into gales of laughter by pointing out that "The really nice thing about standards is that they ensure that everyone who comes after us makes the same mistakes we did".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC