summaryrefslogtreecommitdiff
path: root/tests/lang/bug24054.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug24054.phpt')
-rw-r--r--tests/lang/bug24054.phpt14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/lang/bug24054.phpt b/tests/lang/bug24054.phpt
index aa098fc524..0b90ee3aff 100644
--- a/tests/lang/bug24054.phpt
+++ b/tests/lang/bug24054.phpt
@@ -8,17 +8,13 @@ define('LONG_MIN', -LONG_MAX - 1);
printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ),
is_int(LONG_MIN-1),is_int(LONG_MAX+1));
- $i = LONG_MAX;
+$i = LONG_MAX;
+$j = $i * 1001;
+$i *= 1001;
- $j = $i * 1001;
- $i *= 1001;
+var_dump($i === $j);
-$tests = <<<TESTS
-$i === $j
-TESTS;
-
-include(__DIR__ . '/../quicktester.inc');
?>
--EXPECT--
1,1,0,0
-OK
+bool(true)