Code Duplication    Length = 4-11 lines in 2 locations

vendor/dompdf/dompdf/include/functions.inc.php 1 location

@@ 11-14 (lines=4) @@
8
 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
9
 */
10
11
if ( !defined('PHP_VERSION_ID') ) {
12
  $version = explode('.', PHP_VERSION);
13
  define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));
14
}
15
16
/**
17
 * Defined a constant if not already defined

vendor/paragonie/random_compat/lib/random.php 1 location

@@ 32-42 (lines=11) @@
29
 * SOFTWARE.
30
 */
31
32
if (!defined('PHP_VERSION_ID')) {
33
    // This constant was introduced in PHP 5.2.7
34
    $RandomCompatversion = explode('.', PHP_VERSION);
35
    define(
36
        'PHP_VERSION_ID',
37
        $RandomCompatversion[0] * 10000
38
        + $RandomCompatversion[1] * 100
39
        + $RandomCompatversion[2]
40
    );
41
    $RandomCompatversion = null;
42
}
43
44
if (PHP_VERSION_ID < 70000) {
45