Lines Matching refs:match

702 		if (preg_match($pcre, $date, $match))
720 for ($i = count($match); $i <= 3; $i++)
722 $match[$i] = '1';
725 for ($i = count($match); $i <= 7; $i++)
727 $match[$i] = '0';
731 if (isset($match[9]) && $match[9] !== '')
733 $timezone = $match[10] * 3600;
734 $timezone += $match[11] * 60;
735 if ($match[9] === '-')
746 $second = round((int)$match[6] + (int)$match[7] / (10 ** strlen($match[7])));
748 return gmmktime($match[4], $match[5], $second, $match[2], $match[3], $match[1]) - $timezone;
839 if (preg_match($pcre, $this->remove_rfc2822_comments($date), $match))
857 $month = $this->month[strtolower($match[3])];
860 if ($match[8] !== '')
862 $timezone = $match[9] * 3600;
863 $timezone += $match[10] * 60;
864 if ($match[8] === '-')
870 elseif (isset($this->timezone[strtoupper($match[11])]))
872 $timezone = $this->timezone[strtoupper($match[11])];
881 if ($match[4] < 50)
883 $match[4] += 2000;
885 elseif ($match[4] < 1000)
887 $match[4] += 1900;
891 if ($match[7] !== '')
893 $second = $match[7];
900 return gmmktime($match[5], $match[6], $second, $month, $match[2], $match[4]) - $timezone;
925 if (preg_match($pcre, $date, $match))
940 $month = $this->month[strtolower($match[3])];
943 if (isset($this->timezone[strtoupper($match[8])]))
945 $timezone = $this->timezone[strtoupper($match[8])];
954 if ($match[4] < 50)
956 $match[4] += 2000;
960 $match[4] += 1900;
963 return gmmktime($match[5], $match[6], $match[7], $month, $match[2], $match[4]) - $timezone;
989 if (preg_match($pcre, $date, $match))
1002 $month = $this->month[strtolower($match[2])];
1003 return gmmktime($match[4], $match[5], $match[6], $month, $match[3], $match[7]);