Skip to content

Commit 4d4fdf4

Browse files
committed
Update getid3.lib.php
PHP_INT_MIN is not introduced until PHP v7.0.0
1 parent b0f85d5 commit 4d4fdf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

getid3/getid3.lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
}
2020
}
2121

22-
// Available since PHP 5.6
22+
// Available since PHP 7.0 (2015-Dec-03 https://www.php.net/ChangeLog-7.php)
2323
if (!defined('PHP_INT_MIN')) {
24-
define('PHP_INT_MIN', ~PHP_INT_MAX);
24+
define('PHP_INT_MIN', ~PHP_INT_MAX);
2525
}
2626

2727
class getid3_lib
@@ -79,7 +79,7 @@ public static function trunc($floatnumber) {
7979
/**
8080
* @param int|null $variable
8181
* @param-out int $variable
82-
* @param int $increment
82+
* @param int $increment
8383
*
8484
* @return bool
8585
*/

0 commit comments

Comments
 (0)