I searched on StackOverflow and Google and I can\'t find the answer to this question:
Should we always use the triple equal in PHP for validation?
For exampl
I would say it is better to always use === and remove one = in cases you can justify.
===
=
And yes it's equal, though weird. Better way to write it is if(is_numeric($x) && $x == 1)
if(is_numeric($x) && $x == 1)