[php-src] PR #17108: Fix ZEND_MATCH_ERROR misoptimization

From: Date: Tue, 10 Dec 2024 12:58:33 +0000
Subject: [php-src] PR #17108: Fix ZEND_MATCH_ERROR misoptimization
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29969@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17108 Author: iluuu1994 op1 of ZEND_MATCH_ERROR, which refers to the match expression, is not freed by MATCH_ERROR itself. Instead, it is freed by ZEND_HANDLE_EXCEPTION. For normal control flow, a FREE is placed at the end of the match expression. Since FREE may appear after MATCH_ERROR in the opcode sequence, we need to correctly handle op1 of MATCH_ERROR as alive.

« previous php.git-pulls (#29969) next »