Skip to content

Commit 9131575

Browse files
committed
CI
1 parent ab93792 commit 9131575

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ext/standard/array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2881,7 +2881,7 @@ PHP_FUNCTION(array_fill_keys)
28812881
"The supplied range exceeds the maximum array size by %lu elements: " \
28822882
"start=" ZEND_LONG_FMT ", end=" ZEND_LONG_FMT ", step=" ZEND_LONG_FMT ". " \
28832883
"Calculated size: %lu, Maximum size: %lu.", \
2884-
__excess, end, start, (_step), __calc_size + 1, HT_MAX_SIZE); \
2884+
__excess, end, start, (_step), __calc_size + 1, (zend_ulong)HT_MAX_SIZE); \
28852885
RETURN_THROWS(); \
28862886
} \
28872887
size = (uint32_t)(__calc_size + 1); \

ext/standard/tests/array/range/range_bug70239_2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ try {
88
echo $e->getMessage() . "\n";
99
}
1010
?>
11-
--EXPECT--
11+
--EXPECTF--
1212
The supplied range exceeds the maximum array size by %d elements: start=0, end=%d, step=1. Calculated size: %d, Maximum size: %d.

ext/standard/tests/array/range/range_bug70239_3.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ try {
88
echo $e->getMessage() . "\n";
99
}
1010
?>
11-
--EXPECT--
11+
--EXPECTF--
1212
The supplied range exceeds the maximum array size by %d elements: start=-%d, end=0, step=1. Calculated size: %d, Maximum size: %d.

0 commit comments

Comments
 (0)