Lines Matching refs:contents
127 $contents = @php_strip_whitespace($file);
130 preg_match_all($pattern,$contents,$matches,PREG_SET_ORDER);
465 $contents = join('',@file($file));
469 for ($i=0; $i<strlen($contents); $i++) {
470 if (!$state && is_whitespace($contents{$i})) continue;
472 if (!$state && ($c_close = is_commentopen($contents, $i))) {
473 $c_open_len = ($contents{$i} == '/') ? 2 : 1;
474 $i = strpos($contents, $c_close, $i+$c_open_len)+strlen($c_close)-1;
478 $out .= $contents{$i};
479 if (is_quote($contents{$i})) {
480 if (($state == $contents{$i}) && !is_escaped($contents, $i)) { $state = 0; continue; }
481 if (!$state) {$state = $contents{$i}; continue; }