Is it good to use && as shorthand for if only statement in PHP? I like its simplicity but is it a good practise to use it?
Example: $a == "foo" && $b = "bar" ;
Is it more like if($a == "foo" && $b = "bar"){} than if($a == "foo"){ $b = "bar" } ?
If so, could it cause any problems?