|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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-2022 The PHP Group
All rights reserved.
Last updated: Thu Dec 08 23:05:53 2022 UTC