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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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: Fri Apr 19 22:01:28 2024 UTC