[php-src] PR #18273: Avoid useless initializations of fci/fcc in array functions
| From: | nielsdos | Date: | Mon, 07 Apr 2025 21:17:41 +0000 |
| Subject: | [php-src] PR #18273: Avoid useless initializations of fci/fcc in array functions | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31344@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18273
Author: nielsdos
These cause cache misses due to global access, in phpstan (notably the array_map).
Initializing these isn't necessary because ZPP initializes it for us. Only for optional
arguments do we need to be careful; for
array_filter we still reset the
fci but not fci_cache because fci is not necessarily set by
ZPP but is conditionally used to access fci_cache.