[php-src] Issue #14550: Enable Zend DTrace will disable opcache.jit implictly

From: Date: Thu, 13 Jun 2024 03:00:24 +0000
Subject: [php-src] Issue #14550: Enable Zend DTrace will disable opcache.jit implictly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247085@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/14550 Author: yangyang198703 ### Description When Zend DTrace is enabled via USE_ZEND_DTRACE environment var, turning on opcache.jit would complain about JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled.") The behavior is expected in the code as we check the zend_execute_ex function has been replaced. https://github.com/php/php-src/blob/18cfd94de402e1a843b316f15893f4a0d22a374e/ext/opcache/jit/zend_jit.c#L3450-L3452 And it was replaced in the following code when DTRACE is enabled https://github.com/php/php-src/blob/25360ef24951f1c6b83f8bf85fbdcaff4a1a40e1/Zend/zend.c#L962 The problem is that the warning message is not covering this case, and I suggest we should explictly warn users about the DTrace behavior blocking JIT to be enabled. ### PHP Version PHP 8.2.19 ### Operating System Any

« previous php.bugs (#247085) next »