Skip to content

Commit

Permalink
rydctfvg
Browse files Browse the repository at this point in the history
  • Loading branch information
divinity76 committed Oct 23, 2024
1 parent 8f9321e commit 9215c3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ext/standard/tests/array/range/range_bug70239_2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ try {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
The supplied range exceeds the maximum array size by 9223372035781033984 elements: start=0, end=9223372036854775807, step=1. Calculated size: 9223372036854775807. Maximum size: 1073741824.
--EXPECTF--
The supplied range exceeds the maximum array size by %d elements: start=0, end=%d, step=1. Calculated size: %d. Maximum size: %d.
4 changes: 2 additions & 2 deletions ext/standard/tests/array/range/range_bug70239_3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ try {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
The supplied range exceeds the maximum array size by 9223372035781033985 elements: start=-9223372036854775808, end=0, step=1. Calculated size: 9223372036854775808. Maximum size: 1073741824.
--EXPECTF--
The supplied range exceeds the maximum array size by %d elements: start=-%d, end=0, step=1. Calculated size: %d. Maximum size: %d.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ try {
?>
--EXPECTF--
The supplied range exceeds the maximum array size by %f elements: start=0.0, end=%f, step=0.1. Max size: %d
The supplied range exceeds the maximum array size by 18446744072635809792 elements: start=-9223372036854775808, end=9223372036854775807, step=1. Calculated size: 18446744073709551615. Maximum size: 1073741824.
The supplied range exceeds the maximum array size by %d elements: start=-%d, end=%d, step=1. Calculated size: %d. Maximum size: %d.

0 comments on commit 9215c3b

Please sign in to comment.