Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/spell_checker/cpaint/cpaint2.backend-debugger.php

    r3400 r7655  
    7272        $scriptName = $_SERVER['SCRIPT_FILENAME']; 
    7373        $fileLines = file($scriptName); 
    74         for ($i=0; $i < sizeof($fileLines); $i++) { 
     74        for ($i=0; $i < sizeof($fileLines); ++$i) { 
    7575                $line = trim($fileLines[$i]); 
    7676                if (substr($line, 0, 9) == "FUNCTION " || substr($line,0,9) == "function ") { 
     
    7878                }                
    7979        } 
    80         for ($i = 0; $i < sizeof($match); $i++) { 
     80        for ($i = 0; $i < sizeof($match); ++$i) { 
    8181                $line = str_replace("function ", "", $match[$i]); 
    8282                $line = str_replace("FUNCTION ", "", $line); 
Note: See TracChangeset for help on using the changeset viewer.