Lines Matching refs:file
36 foreach (scandir($path) as $file) {
38 if ($file[0] === '.' ||
39 $file === 'CVS' ||
40 @substr_compare($file, '.lo', -3, 3) === 0 ||
41 @substr_compare($file, '.loT', -4, 4) === 0 ||
42 @substr_compare($file, '.o', -2, 2) === 0) continue;
44 $file = "$path/$file";
46 if (is_dir($file)) {
47 recurse($file);
51 echo "processing $file... ";
53 $newfile = $newpcre . substr($file, $dirlen);
65 if (file_get_contents($newfile) !== file_get_contents($file)) {
66 copy($newfile, $file);
97 foreach ($diff as $file) {
98 $file2 = 'pcrelib'.substr($file, strlen($newpcre));
99 copy($file, $file2);