Skip to content

Commit

Permalink
Conflict with ionCube only on PHP 8.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
iamluc committed Sep 17, 2024
1 parent 85f05f7 commit 6d54c56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/excluded_modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
#include "configuration.h"

bool ddtrace_is_excluded_module(zend_module_entry *module, char *error) {
#if PHP_VERSION_ID >= 80000
if (strcmp("ionCube Loader", module->name) == 0) {
snprintf(error, DDTRACE_EXCLUDED_MODULES_ERROR_MAX_LEN,
"Found incompatible ionCube Loader extension");
return true;
}
#endif

if (strcmp("xdebug", module->name) == 0) {
/*
Expand Down

0 comments on commit 6d54c56

Please sign in to comment.