diff options
-rw-r--r-- | ext/standard/tests/math/001.phpt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/standard/tests/math/001.phpt b/ext/standard/tests/math/001.phpt index dee4217342..ccd19dc600 100644 --- a/ext/standard/tests/math/001.phpt +++ b/ext/standard/tests/math/001.phpt @@ -8,6 +8,9 @@ Simple math tests echo abs(-1.5) . "\n"; echo abs("-1") . "\n"; echo abs("-1.5") . "\n"; + echo abs(-2147483647) . "\n"; + echo abs(-2147483648) . "\n"; + echo abs(-2147483649) . "\n"; echo ceil(-1.5) . "\n"; echo ceil(1.5) . "\n"; echo floor(-1.5) . "\n"; @@ -19,6 +22,9 @@ Simple math tests 1.5 1 1.5 +2147483647 +2147483648 +2147483649 -1 2 -2 |