Skip to content

Commit 83ceb7f

Browse files
committed
Fix PHP_INT_MIN not defined in 5.5
1 parent f82999b commit 83ceb7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Test.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
define("SIGUSR2", 31);
1010
}
1111

12+
if (!defined("PHP_INT_MIN")) {
13+
define("PHP_INT_MIN", ~PHP_INT_MAX);
14+
}
15+
1216
abstract class Test extends \PHPUnit_Framework_TestCase {
1317
/**
1418
* The DriverFactory to run this test on

0 commit comments

Comments
 (0)