It is also reported here with a solution:
https://bugs.php.net/bug.php?id=58905
PHP - Manual: 安装
2024-12-21
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/xdiff.
PECL 扩展的 DLL 当前不可用。参见 在 Windows 上构建章节。
It is also reported here with a solution:
https://bugs.php.net/bug.php?id=58905
This package currently does not compile on PHP 5.4 and above.
https://bugs.php.net/bug.php?id=60414