[php-src] PR #25814: ext/opcache: Do not drop QM_ASSIGN of IS_VAR before ZEND_RETURN
| From: | iliaal | Date: | Thu, 26 Nov 2026 23:46:09 +0000 |
| Subject: | [php-src] PR #25814: ext/opcache: Do not drop QM_ASSIGN of IS_VAR before ZEND_RETURN | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41087@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25814
Author: iliaal
The block optimizer can fold a dereferencing QM_ASSIGN into ZEND_RETURN when returning a
by-reference assignment or list destructuring. Preserve the QM_ASSIGN when its source is IS_VAR
because ZEND_RETURN only accepts CONST, TMP, and CV operands.
Fixes GH-25756