| @@ -1850,9 +1850,9 @@ | ||
| 1850 | 1850 | } |
| 1851 | 1851 | |
| 1852 | 1852 | $length = strlen($string); |
| 1853 | 1853 | |
| 1854 | - for ($i = 0 ; $i < $length ; ++$i) { | |
| 1854 | + for ($i = 0; $i < $length; ++$i) { | |
| 1855 | 1855 | $c = $string[$i]; |
| 1856 | 1856 | |
| 1857 | 1857 | //All other characters have a special meaning in at least one common shell, including = and +. |
| 1858 | 1858 | //Full stop (.) has a special meaning in cmd.exe, but its impact should be negligible here. |
| @@ -3671,9 +3671,9 @@ | ||
| 3671 | 3671 | //Base64 has a 4:3 ratio |
| 3672 | 3672 | $avgLength = floor($length * $ratio * .75); |
| 3673 | 3673 | |
| 3674 | 3674 | $offset = 0; |
| 3675 | - for ($i = 0 ; $i < $mb_length ; $i += $offset) { | |
| 3675 | + for ($i = 0; $i < $mb_length; $i += $offset) { | |
| 3676 | 3676 | $lookBack = 0; |
| 3677 | 3677 | do { |
| 3678 | 3678 | $offset = $avgLength - $lookBack; |
| 3679 | 3679 | $chunk = mb_substr($str, $i, $offset, $this->CharSet); |
| @@ -4872,9 +4872,9 @@ | ||
| 4872 | 4872 | public function DKIM_QP($txt) |
| 4873 | 4873 | { |
| 4874 | 4874 | $line = ''; |
| 4875 | 4875 | $len = strlen($txt); |
| 4876 | - for ($i = 0 ; $i < $len ; ++$i) { | |
| 4876 | + for ($i = 0; $i < $len; ++$i) { | |
| 4877 | 4877 | $ord = ord($txt[$i]); |
| 4878 | 4878 | if (((0x21 <= $ord) && ($ord <= 0x3A)) || $ord === 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E))) { |
| 4879 | 4879 | $line .= $txt[$i]; |
| 4880 | 4880 | } else { |