|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77616 PECL xdiff Win x64 build on does not work
Submitted: 2019-02-13 22:36 UTC Modified: 2021-05-17 21:48 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: kentaro at ranvis dot com Assigned: cmb (profile)
Status: Closed Package: xdiff (PECL)
PHP Version: 7.3.2 OS: Windows x64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: kentaro at ranvis dot com
New email:
PHP Version: OS:


 [2019-02-13 22:36 UTC] kentaro at ranvis dot com
PECL xdiff Windows x64 build obtainable at
does not function correctly.
The DLL itself loads fine but xdiff_* functions does not produce the correct data, and sometimes PHP process stops possibly inside the DLL execution.
I've tried x64 NTS build for PHP 7.0 through 7.3 but the result was the same, while x86 NTS for PHP 7.3 works fine.

Steps to reproduce:
2.Rename php.ini-development to php.ini
3 Copy php_xdiff.dll in to ext/
4.Append "extension=ext/php_xdiff" to the end of php.ini
5.Run the test script

Test script:
$old = 'test';
$new = 'test2';
print bin2hex($new) . "\n";
$diff = xdiff_string_rabdiff($old, $new);
print bin2hex($diff) . "\n";
print bin2hex(xdiff_string_bpatch($old, $diff)) . "\n";

Expected result:

Actual result:
00009858c6 // this line may vary each time


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-28 08:00 UTC]
The following pull request has been associated:

Patch Name: Fixed bug #77616 (Windows x64 build not working).
On GitHub:
 [2021-05-17 11:21 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-05-17 21:48 UTC]
-Status: Verified +Status: Closed
 [2021-05-17 21:48 UTC]
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 17 01:01:24 2021 UTC