summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/intdiv.phpt
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2014-07-15 02:08:26 +0100
committerAndrea Faulds <ajf@ajf.me>2014-07-15 02:08:26 +0100
commit97c6c48ae87ddfe240f6444de5d3014c3c9e9efd (patch)
tree67e9abcdbd20f8e8c416012fd083a459f8638d6b /ext/standard/tests/math/intdiv.phpt
parenta521fe51d34c64b216fbeb89060eaaefbfb2fc52 (diff)
downloadphp-git-97c6c48ae87ddfe240f6444de5d3014c3c9e9efd.tar.gz
Fixed testcase
Diffstat (limited to 'ext/standard/tests/math/intdiv.phpt')
-rw-r--r--ext/standard/tests/math/intdiv.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/math/intdiv.phpt b/ext/standard/tests/math/intdiv.phpt
index 9dbbfb8ad6..449434d7c7 100644
--- a/ext/standard/tests/math/intdiv.phpt
+++ b/ext/standard/tests/math/intdiv.phpt
@@ -5,7 +5,7 @@ intdiv functionality
var_dump(intdiv(3, 2));
var_dump(intdiv(-3, 2));
var_dump(intdiv(3, -2));
-var_dump(intdiv(-3, 2));
+var_dump(intdiv(-3, -2));
var_dump(intdiv(PHP_INT_MAX, PHP_INT_MAX));
var_dump(intdiv(-PHP_INT_MAX - 1, -PHP_INT_MAX - 1));
var_dump(intdiv(1, 0));
@@ -15,7 +15,7 @@ var_dump(intdiv(1, 0));
int(1)
int(-1)
int(-1)
-int(-1)
+int(1)
int(1)
int(1)