History log of /PHP-8.2/ext/standard/tests/array/array_fill_variation6.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# a1b05a3a 20-Jun-2022 Christoph M. Becker

Tweak $count range check of array_fill()

We fix the `UNEXPECTED(EXPECTED(…))`, which does not make sense, and
replace the magic number with the respective macro. We also add a
test

Tweak $count range check of array_fill()

We fix the `UNEXPECTED(EXPECTED(…))`, which does not make sense, and
replace the magic number with the respective macro. We also add a
test case to verify the expected behavior for an `array_fill()` edge
case.

Closes GH-8804.

show more ...