[php-src] PR #22008: GH-22004: Fix TSSA of ZEND_FE_FETCH with key operand
| From: | arnaud-lb | Date: | Mon, 11 May 2026 11:49:20 +0000 |
| Subject: | [php-src] PR #22008: GH-22004: Fix TSSA of ZEND_FE_FETCH with key operand | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36082@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22008
Author: arnaud-lb
Fixes GH-22004.
During type inference of
foreach ($array as $key => $elem), in the case of loops
that didn't iterate during tracing, we copy the use var info of $elem to the def,
but we forgot $key.