Re: RFC: Strict comparisons

From: Date: Thu, 22 Sep 2016 21:17:58 +0000
Subject: Re: RFC: Strict comparisons
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-96102@lists.php.net to get a copy of this message
> What still worries me personally is ===. What do you think would be the > least incorrect way to handle === > 2) === is not affected by strict_comparisons. I think not changing it is the correct thing to do.....but I think it needs more thinking about. Btw, the RFC would need to cover all cases of comparison. e.g. within for loops as well as if statements because: $initialValue = "2bananas"; for ($x=$initialValue ; $x<10; $x++) { echo "$x\n"; } cheers Dan

« previous php.internals (#96102) next »