Lines Matching refs:i
216 $i = -1;
219 while (++$i < $textlen)
220 if ('<' == $text[$i])
222 elseif ('>' == $text[$i])
227 $text = substr($text, 0, $i);
239 $i = -1;
241 while (++$i < $textlen)
242 if ($text[$i] == '<')
244 if ($text[$i + 1] != '/' && $text[$i + 1] != '!') //opening tag
246 $j = $i;
248 array_push($tags, substr($text, $i + 1, $j - $i - 1));
250 elseif ($text[$i + 1] == '/') //closing tag
252 $j = $i + 1;
254 $closed_tag = substr($text, $i + 2, $j - $i - 2);