Lines Matching refs:i
430 for ($i = 0, $len = count($lines); $i < $len; $i++)
433 if (empty($spec) && $is_email && (false !== $p = strpos($lines[$i], ",")))
435 $s = strpos($lines[$i], " <");
436 $e = strpos($lines[$i], ">");
439 $addr = substr($lines[$i], $s);
440 $lines[$i] = "\"" . substr($lines[$i], 0, $s) . "\"" . $addr;
444 $lines[$i] = "\"" . $lines[$i] . "\"";
448 if ($this->encoding == "Q") $lines[$i] = rtrim($lines[$i], "=");
450 if ($lines[$i] == "" && $i > 0)
452 unset($lines[$i]); //Empty line, we'd rather not have these in the headers thank you!
455 if ($i > 0)
458 …if (substr($lines[$i], 0, 1) == '<' && substr($lines[$i], -1) == '>') $lines[$i] = " " . $lines[$i…
459 else $lines[$i] = " " . $spec . $lines[$i] . $end;
463 …if (substr($lines[$i], 0, 1) != '<' || substr($lines[$i], -1) != '>') $lines[$i] = $spec . $lines[…
505 foreach ($lines as $i => $line)
508 … if (preg_match("~[\\s\";,<>\\(\\)@:\\\\/\\[\\]\\?=]~", $line)) $lines[$i] = '"' . $line . '"';
527 foreach ($lines as $i => $line)
530 $att_copy .= "*" . $i;