Skip to content

Commit b03f514

Browse files
committed
Add PHP_INT_MIN for PHP older than 5.6
1 parent 35bda64 commit b03f514

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

getid3/getid3.lib.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
}
2020
}
2121

22+
// Available since PHP 5.6
23+
if (!defined('PHP_INT_MIN')) {
24+
define('PHP_INT_MIN', ~PHP_INT_MAX);
25+
}
26+
2227
class getid3_lib
2328
{
2429
/**

getid3/getid3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class getID3
387387
*/
388388
protected $startup_warning = '';
389389

390-
const VERSION = '1.9.24-202512161137';
390+
const VERSION = '1.9.24-202512170412';
391391
const FREAD_BUFFER_SIZE = 32768;
392392

393393
const ATTACHMENTS_NONE = false;

0 commit comments

Comments
 (0)