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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Fri Dec 27 12:01:29 2024 UTC