Lines Matching refs:i
108 for ($i = 0, $total_matches = count($matches); $i < $total_matches; $i++) {
109 $return[$i]['tag'] = $realname;
110 $return[$i]['full'] = $matches[$i][0][0];
111 $return[$i]['offset'] = $matches[$i][0][1];
112 if (strlen($matches[$i][3][0]) <= 2) {
113 $return[$i]['self_closing'] = true;
115 $return[$i]['self_closing'] = false;
116 $return[$i]['content'] = $matches[$i][4][0];
118 $return[$i]['attribs'] = [];
119 if (isset($matches[$i][2][0]) && preg_match_all('/[\x09\x0A\x0B\x0C\x0D\x20]+([^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3D\x3E]*)(?:[\x09\x0A\x0B\x0C\x0D\x20]*=[\x09\x0A\x0B\x0C\x0D\x20]*(?:"([^"]*)"|\'([^\']*)\'|([^\x09\x0A\x0B\x0C\x0D\x20\x22\x27\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x3E]*)?))?/', ' ' . $matches[$i][2][0] . ' ', $attribs, PREG_SET_ORDER)) {
124 $return[$i]['attribs'][strtolower($attribs[$j][1])]['data'] = Misc::entities_decode(end($attribs[$j]));
292 for ($i = 0x80; $i <= 0xFF; $i++) {
293 $non_ascii_octects .= chr($i);
2047 header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 604800) . ' GMT'); // 7 days
2176 return preg_replace('#^(https?://)[^/:@]+:[^/:@]+@#i', '$1', $url);