mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix GH-14550: No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled
This commit is contained in:
commit
23391f1fe7
1 changed files with 3 additions and 1 deletions
|
@ -3448,7 +3448,9 @@ ZEND_EXT_API int zend_jit_check_support(void)
|
|||
}
|
||||
|
||||
if (zend_execute_ex != execute_ex) {
|
||||
if (strcmp(sapi_module.name, "phpdbg") != 0) {
|
||||
if (zend_dtrace_enabled) {
|
||||
zend_error(E_WARNING, "JIT is incompatible with DTrace. JIT disabled.");
|
||||
} else if (strcmp(sapi_module.name, "phpdbg") != 0) {
|
||||
zend_error(E_WARNING, "JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled.");
|
||||
}
|
||||
JIT_G(enabled) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue