[php-src] PR #24796: JIT: Fix SWITCH_STRING type checks on referenced operand
| From: | jorgsowa | Date: | Tue, 27 Oct 2026 17:44:45 +0000 |
| Subject: | [php-src] PR #24796: JIT: Fix SWITCH_STRING type checks on referenced operand | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39992@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24796
Author: jorgsowa
The tracing guard checked IS_LONG instead of IS_STRING after ZVAL_DEREF, passing a non-string to
zend_hash_find(). The function JIT path checked IS_STRING instead of IS_REFERENCE, so the deref fast
path was dead.