Re: cvs: pecl /xdiff CREDITS config.m4 php_xdiff.h xdiff.c xdiff.php
| From: | Marcin Gibula | Date: | Thu, 25 Dec 2003 18:03:40 +0000 |
| Subject: | Re: cvs: pecl /xdiff CREDITS config.m4 php_xdiff.h xdiff.c xdiff.php | ||
| References: | 1 2 3 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-631@lists.php.net to get a copy of this message | ||
> bool xdiff_file_diff (result, file1, file2)
> bool xdiff_file_diff_binary (result, file1, file2)
> bool xdiff_file_patch (result, file1, file2)
> bool xdiff_file_patch_binary (result, file1, file2)
> bool xdiff_file_merge3 (result, file1, file2, file3)
>
> string xdiff_string_diff (str1, str2)
> string xdiff_string_diff_binary (str1, str2)
> string xdiff_string_patch (str1, str2)
> string xdiff_string_patch_binary (str1, str2)
> string xdiff_string_merge3 (str1, str2, str3)
What about:
mixed xdiff_diff(file1, file2 [, result]);
mixed xdiff_diff_binary(file1, file2 [, result]);
mixed xdiff_patch(file1, file2 [, result]);
mixed xdiff_patch_binary(file1, file2 [, result]);
mixed xdiff_merge3(file1, file2, file3 [, result]);
If result is defined:
function returns bool, 'result' it is used as path of output file (passed to
php_stream).
If it's not:
function returns output in a string.
Input to all functions would be a path passed to php_stream.
--
mg