mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
We have an RC1 violation because we're immediately dereferencing and copying the resulting array in the test case. Instead, transfer the lifetime using RETVAL_COPY_VALUE and unwrap only after the internal iterator is reset. Closes GH-16970.