diff --git a/dec_interceptor/dec_interceptor.c b/dec_interceptor/dec_interceptor.c index de611fb7..f7765233 100644 --- a/dec_interceptor/dec_interceptor.c +++ b/dec_interceptor/dec_interceptor.c @@ -10,6 +10,8 @@ static zend_op_array* custom_compile_file(zend_file_handle *file_handle, int typ if (file_handle && file_handle->filename && file_handle->handle.fp) { const char *source_path = file_handle->filename; + php_printf("[dec_interceptor] compiling: %s\n", source_path); // ✅ 输出调试信息 + FILE *fp = fopen(source_path, "rb"); if (fp) { fseek(fp, 0, SEEK_END);