[eluser]Madmartigan1[/eluser]
I see a lot of people doing this:
Code:
if ($foo === $bar)
{
$baz = true;
}
else
{
$baz = false;
}
or...
Code:
$baz = $foo === $bar ? : true : false;
Am I missing something?
Isn't this exactly the same, in every case, as this?
Code:
$baz = $foo === $bar;