Changeset 7655 for trunk/library/Mail/Mail/RFC822.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/Mail/Mail/RFC822.php
r6118 r7655 332 332 $string = $parts[0]; 333 333 334 for ($i = 0; $i < count($parts); $i++) {334 for ($i = 0; $i < count($parts); ++$i) { 335 335 if ($this->_hasUnclosedQuotes($string) 336 336 || $this->_hasUnclosedBrackets($string, '<>') … … 426 426 { 427 427 $parts = explode($char, $string); 428 for ($i = 0; $i < count($parts); $i++){428 for ($i = 0; $i < count($parts); ++$i){ 429 429 if (substr($parts[$i], -1) == '\\' || $this->_hasUnclosedQuotes($parts[$i])) 430 430 $num--; … … 500 500 // geezer 501 501 // ... or any other format valid by RFC 822. 502 for ($i = 0; $i < count($addresses); $i++) {502 for ($i = 0; $i < count($addresses); ++$i) { 503 503 if (!$this->validateMailbox($addresses[$i])) { 504 504 if (empty($this->error)) { … … 544 544 while (count($parts) > 0){ 545 545 $phrase_parts[] = $this->_splitCheck($parts, ' '); 546 for ($i = 0; $i < $this->index + 1; $i++)546 for ($i = 0; $i < $this->index + 1; ++$i) 547 547 array_shift($parts); 548 548 } … … 797 797 while (count($subdomains) > 0) { 798 798 $sub_domains[] = $this->_splitCheck($subdomains, '.'); 799 for ($i = 0; $i < $this->index + 1; $i++)799 for ($i = 0; $i < $this->index + 1; ++$i) 800 800 array_shift($subdomains); 801 801 } … … 891 891 while (count($parts) > 0){ 892 892 $words[] = $this->_splitCheck($parts, '.'); 893 for ($i = 0; $i < $this->index + 1; $i++) {893 for ($i = 0; $i < $this->index + 1; ++$i) { 894 894 array_shift($parts); 895 895 }
Note: See TracChangeset
for help on using the changeset viewer.