Ignore:
Timestamp:
12/18/12 16:15:29 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Performance: Function Within Loop Declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/csstidy/css_optimiser.php

    r7655 r7673  
    322322                        { 
    323323                                echo '<dt>'.$line.'</dt>'; 
    324                                 for($i = 0; $i < count($array); ++$i) 
     324                $array_count = count($array); 
     325                                for($i = 0; $i < $array_count; ++$i) 
    325326                                { 
    326327                                        echo '<dd class="'.$array[$i]['t'].'">'.$array[$i]['m'].'</dd>'; 
Note: See TracChangeset for help on using the changeset viewer.