File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 16
16
+----------------------------------------------------------------------+
17
17
*/
18
18
19
+ #include "main/php.h"
20
+ #include "main/SAPI.h"
19
21
#include "php_version.h"
20
22
#include <ZendAccelerator.h>
21
23
#include "zend_shared_alloc.h"
@@ -4177,7 +4179,9 @@ ZEND_EXT_API int zend_jit_check_support(void)
4177
4179
}
4178
4180
4179
4181
if (zend_execute_ex != execute_ex ) {
4180
- zend_error (E_WARNING , "JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled." );
4182
+ if (strcmp (sapi_module .name , "phpdbg" ) != 0 ) {
4183
+ zend_error (E_WARNING , "JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled." );
4184
+ }
4181
4185
JIT_G (enabled ) = 0 ;
4182
4186
return FAILURE ;
4183
4187
}
You can’t perform that action at this time.
0 commit comments