Code Duplication    Length = 3-3 lines in 2 locations

phpsysinfo/tools/distrotest.php 2 locations

@@ 31-33 (lines=3) @@
28
        }
29
        echo $contents;
30
    }
31
    if ((strlen($contents)>0)&&(substr($contents, -1)!="\n")) {
32
        echo "\n";
33
    }
34
    pclose($fp);
35
}
36
@@ 41-43 (lines=3) @@
38
    foreach (glob($filemask) as $filename) {
39
        echo "----------".$filename."----------\n";
40
        echo $contents=file_get_contents($filename);
41
        if ((strlen($contents)>0)&&(substr($contents, -1)!="\n")) {
42
            echo "\n";
43
        }
44
    }
45
}
46