mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
The rename code can error out prior to the reassignment of the filename, which is why the test causes a crash. The rename code can also error out at a later point, which means it will have already assigned the new filename. We detect in which case we are in and act accordingly. Closes GH-19761.