PHP performance difference conditions of if statement : <p>Hey quick question anyone knows if there is any performance difference between these 2 codes (PHP-7):</p>

<pre><code>public function isActive() : bool
{
    if ($cond1) {
        if ($cond2) {
            return true;
        }
    }

    return false;
}
</code></pre>

<p>and</p>

<pre><code>public function isActive() : bool
{
    if ($cond1 &amp;&amp; $cond2) {
        return true;
    }

    return false;
}
</code></pre>

<p>(Yes I know the variables are not defined, question is about the if statements not the variables)</p>

<p>I ask this question because I'm focusing on readability of my code, but at same time maintaining my performance the best I can.</p>

<p>Even if it is just a very tiny performance difference (e.g 0.000000001%) I still like to know the answer.</p>
