PHP 'break' operator with non-constant operand is no longer supported
<p>I'm running this code and I got this error. </p>

<pre><code>    $no=0;
    out:for($i=0;$i&lt;count($r);$i++){
            foreach ($r as $q){
                if($no++&gt;$noOfQuestion)break out;
           }
    }
</code></pre>

<p>This is my error</p>

<pre><code>'break' operator with non-constant operand is no longer supported
</code></pre>

<p>I'm running php 5.4.3.</p>
