|
PHP5中文手册
xdiff_file_diff(PECL xdiff:0.2-1.4) xdiff_file_diff — Make unified diff of two files 说明
bool xdiff_file_diff
( string $file1
, string $file2
, string $dest
[, int $context
[, bool $minimal
]] )
Makes a diff of two files and stores the result in a file. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 xdiff_file_diff() example The following code makes unified diff of two php files.
<?php 注释
|