Which 'if' is good in PHP?
if ($condition) { $x = $v; }
88%
$condition && $x = $v;
5%
$condition AND $x = $v;
3%
Others
5%
40 votes · Closed
What you like use in some simple cases? Here's what I know. Is there any other way? Tell me.
And which is good?