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/Mail/Mail/smtpmx.php

    r5146 r7673  
    436436                return false; 
    437437            } 
    438             for ($i = 0; $i < count($mxHost); ++$i) { 
     438            $mxHost_count = count($mxHost); 
     439            for ($i = 0; $i < $mxHost_count; ++$i) { 
    439440                $mx[$mxHost[$i]] = $mxWeight[$i]; 
    440441            } 
Note: See TracChangeset for help on using the changeset viewer.