Skip to content

Commit 2d475eb

Browse files
committed
Fixed tests on 32-bit systems
1 parent 9a89539 commit 2d475eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/tests/array/range_bug70239_2.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ var_dump(range(0, PHP_INT_MAX));
66
?>
77
===DONE===
88
--EXPECTF--
9-
Warning: range(): The supplied range exceeds the maximum array size: start=0 end=9223372036854775808 in %srange_bug70239_2.php on line %d
9+
Warning: range(): The supplied range exceeds the maximum array size: start=0 end=%d in %srange_bug70239_2.php on line %d
1010
bool(false)
1111
===DONE===

ext/standard/tests/array/range_bug70239_3.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ var_dump(range(PHP_INT_MIN, 0));
66
?>
77
===DONE===
88
--EXPECTF--
9-
Warning: range(): The supplied range exceeds the maximum array size: start=-9223372036854775808 end=0 in %srange_bug70239_3.php on line %d
9+
Warning: range(): The supplied range exceeds the maximum array size: start=-%d end=0 in %srange_bug70239_3.php on line %d
1010
bool(false)
1111
===DONE===

0 commit comments

Comments
 (0)