Code Duplication    Length = 7-7 lines in 2 locations

tests/verify_compat.php 2 locations

@@ 21-27 (lines=7) @@
18
        $ver = phpversion();
19
        $tests['php_version'] = array();
20
        $tests['php_version']['description'] = 'PHP version found: ' . $ver . ".\n\n";
21
        if (version_compare($ver, '5.3.0') < 0) {
22
            $tests['php_version']['status'] = 0;
23
            $tests['php_version']['description'] .= 'This version of PHP is not compatible with this release of the PHP XMLRPC library. Please upgrade to php 5.1.0 or later';
24
        } else {
25
            $tests['php_version']['status'] = 2;
26
            $tests['php_version']['description'] .= 'This version of PHP is fully compatible with the PHP XMLRPC library';
27
        }
28
29
        // test for zlib
30
        $tests['zlib'] = array();
@@ 55-61 (lines=7) @@
52
        $ver = phpversion();
53
        $tests['php_version'] = array();
54
        $tests['php_version']['description'] = 'PHP version found: ' . $ver . ".\n\n";
55
        if (version_compare($ver, '5.3.0') < 0) {
56
            $tests['php_version']['status'] = 0;
57
            $tests['php_version']['description'] .= 'This version of PHP is not compatible with the PHP XMLRPC library. Please upgrade to 5.1.0 or later';
58
        } else {
59
            $tests['php_version']['status'] = 2;
60
            $tests['php_version']['description'] .= 'This version of PHP is fully compatible with the PHP XMLRPC library';
61
        }
62
63
        // test for zlib
64
        $tests['zlib'] = array();