>
> Given that we already have === and !==, could the strict mode simply throw
> an error for *any* use of the non-strict == and != versions?
> declare(strict_operators=1);
> var_dump(  "11" == "11.0" ); # TypeError: "Cannot use non-strict equality
> operator in strict operator mode."
> var_dump( "11" === "11.0"); # bool(false)
> I'm not sure whether I like the idea or not, but I thought I'd throw it out
> there as a possibility.


That's definitely a possibility, that I'm sure a lot of people will dislike.

I personally don't have a strong opinion about it.

Ben

Reply via email to