Lines Matching refs:line
50 protected function identifyHtml($line, $lines, $current) argument
52 if ($line[0] !== '<' || isset($line[1]) && $line[1] == ' ') {
56 if (strncmp($line, '<!--', 4) === 0) {
65 $tag = rtrim(substr($line, 1, $gtPos - 1), '/');
67 $tag = rtrim(substr($line, 1, min($gtPos, $spacePos) - 1), '/');
84 $line = $lines[$i];
85 $content[] = $line;
86 if (strpos($line, '-->') !== false) {
97 $line = $lines[$i];
98 $content[] = $line;
99 …$level += substr_count($line, "<$tag") - substr_count($line, "</$tag>") - substr_count($line, "/>"…