PHP ��U
前一頁 |  | 下一頁

# CLXX. xdiff Functions

# ��

xdiff extension creates and applies patches to both text and binary files.

# �ݨD

To use xdiff, you will need libxdiff installed, available on the libxdiff homepage http://www.xmailserver.org/xdiff-lib.html.

> 注: You'll need at least libxdiff 0.7 for these functions to be aware of memory_limit.

# �w��

xdiff is currently available through PECL http://pecl.php.net/package/xdiff.

If PEAR is available on your *nix-like system you can use the pear installer to install the xdiff extension, by the following command: pear -v install xdiff.

You can always download the tar.gz package and install xdiff by hand:

範例 1. xdiff install by hand

    gunzip xdiff-xxx.tgz
    tar -xvf xdiff-xxx.tar
    cd xdiff-xxx
    phpize
    ./configure && make && make install

# �w��w�q�`��

�H�U�`�ƥѦ��w�q�A�u�b�o�ө��Q�sĶ�PHP�ι��ɴ�Q�ʺA��J�ɦ�ġC

`XDIFF_PATCH_NORMAL` (integer)

`XDIFF_PATCH_REVERSE` (integer)

前一頁 | 內容 | 下一頁
xattr_supported | 上一層 | xdiff_file_diff_binary