History log of /PHP-8.1/ext/spl/tests/SplFixedArray_indirect_modification.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# ca8657a2 30-Jan-2020 Nikita Popov

Initialize SplFixedArray elements to NULL instead of UNDEF

The SplFixedArray API treats all elements as NULL, even if they
have not been explicitly initialized. Rather than initializing

Initialize SplFixedArray elements to NULL instead of UNDEF

The SplFixedArray API treats all elements as NULL, even if they
have not been explicitly initialized. Rather than initializing
to UNDEF an treating that specially in various circumstances,
directly initialize elements to NULL.

This also fixes an assertion failure in the attached test case.

show more ...