[php-src] PR #23647: ext/zip: ZipArchive::extractTo() ignores files given in a non-list ar…
| From: | devnexen | Date: | Thu, 10 Sep 2026 21:48:14 +0000 |
| Subject: | [php-src] PR #23647: ext/zip: ZipArchive::extractTo() ignores files given in a non-list ar… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38422@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23647
Author: devnexen
…ray.
The array form walked the entries by synthetic 0..n-1 indices, so a files array with non-sequential
keys (as returned by array_filter() and similar) or an integer element extracted nothing while still
returning true. It now iterates the array values, honouring every entry regardless of its keys.