You are not logged in.

#1 2013-06-18 19:18:54

xanthi
Member
Registered: 2013-06-18
Posts: 4

[SOLVED] PHP xdiff

Hi all,

Is there a recent implementation of xdiff working with PHP?

I'm looking to perform binary and unified diffs in PHP and found the following:
http://php.net/manual/en/book.xdiff.php

The only reference I can find to xdiff is libxdiff in AUR, and http://pecl.php.net/package/xdiff reports that PECL xdiff is no longer maintained.

Is xdiff now deprecated in favour of another module?

If xdiff is deprecated and no other option exists, how would one go about performing binary diffs etc in PHP?

TIA

X.

Last edited by xanthi (2013-06-18 20:54:04)

Offline

#2 2013-06-18 19:46:34

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: [SOLVED] PHP xdiff

xanthi wrote:

The only reference I can find to xdiff is libxdiff in AUR, and http://pecl.php.net/package/xdiff reports that PECL xdiff is no longer maintained.

Is xdiff now deprecated in favour of another module?

As far as I can tell it's just unmaintained and not deprecated. Just give it a try and see if it works. If not there's always http://php.net/manual/en/book.exec.php left.

Offline

#3 2013-06-18 20:52:25

xanthi
Member
Registered: 2013-06-18
Posts: 4

Re: [SOLVED] PHP xdiff

Thanks for the input. Added to the AUR:

https://aur.archlinux.org/packages/php-xdiff/

Offline

Board footer

Powered by FluxBB