It is also reported here with a solution:
https://bugs.php.net/bug.php?id=58905
Informacje na temat instalacji tego rozszerzenia PECL można znaleźć w podręczniku w rozdziale zatytułowanym Instalacja rozszerzeń PECL. Dodatkowe informacje, takie jak nowe wersje, pliki do pobrania, pliki źródłowe, informacje o opiekunach czy rejestr zmian, można znaleźć tutaj: » https://pecl.php.net/package/xdiff.
P;ik DLL dla tego rozszerzenia PECL jest obecnie niedostępny. Zobacz także sekcję budowanie dla 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