View Issue Details

IDProjectCategoryView StatusLast Update
0001957XdebugInstallationpublic2021-03-20 18:35
ReporterVincent T Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
Product Version3.0.3 
Summary0001957: Xdebug and JIT seem incompatible
Description

Hi Derick,

I get this non-blocking error message :
[20-Mar-2021 08:12:17 UTC] PHP Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0

As (according to php -m) the only Zend modules are
[Zend Modules]
Xdebug
Zend OPcache

I guess that the module involved is php_xdebug-3.0.3-8.0-vs16-x86_64.dll.

Thanks and regards

Vincent Tap

Additional Information

My config :

System Windows NT PAPA 10.0 build 19042 (Windows 10) AMD64
Build Date Mar 2 2021 23:26:36
Build System Microsoft Windows Server 2016 Standard [10.0.14393]
Compiler Visual C++ 2019
Architecture x64
Configure Command cscript /nologo /e:jscript configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-snap-build\dep-aux\oracle\x64\instantclient_19_9\sdk,shared" "--with-oci8-12c=c:\php-snap-build\dep-aux\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-19=c:\php-snap-build\dep-aux\oracle\x64\instantclient_19_9\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path no value
Loaded Configuration File P:\wamp64\bin\apache\apache2.4.46\bin\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20200930
PHP Extension 20200930
Zend Extension 420200930
Zend Extension Build API420200930,TS,VS16
PHP Extension Build API20200930,TS,VS16
Debug Build no
Thread Safety enabled
Thread API Windows Threads
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, https, ftps, phar
Registered Stream Socket Transports tcp, udp, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters convert.iconv., string.rot13, string.toupper, string.tolower, convert., consumed, dechunk, zlib., bzip2.
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v4.0.3, Copyright (c) Zend Technologies
with Zend OPcache v8.0.3, Copyright (c), by Zend Technologies
with Xdebug v3.0.3, Copyright (c) 2002-2021, by Derick Rethans

TagsNo tags attached.
Operating SystemWindows 10 64-bit
PHP Version8.0.0-8.0.4

Activities

derick

2021-03-20 18:35

administrator   ~0005804

That is correct. You can't use PHP 8's JIT engine (as implemented in Opcache) with Xdebug. The JIT engine changes the way how PHP works in an incompatible (and un-fixable) way with Xdebug. I've made this clearer in the documentation now: https://xdebug.org/docs/compat#compat

Issue History

Date Modified Username Field Change
2021-03-20 08:26 Vincent T New Issue
2021-03-20 18:35 derick Assigned To => derick
2021-03-20 18:35 derick Status new => resolved
2021-03-20 18:35 derick Resolution open => not fixable
2021-03-20 18:35 derick Note Added: 0005804