|  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: -
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: kentaro at ranvis dot com Assigned:
Status: Open Package: xdiff (PECL)
PHP Version: 7.3.2 OS: Windows x64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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:
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue May 11 23:01:25 2021 UTC