1.2.1624. ext/xdiff¶
Extension xdiff.
xdiff extension enables you to create and apply patch files containing differences between different revisions of files.
<?php
$old_version = 'my_script-1.0.php';
$patch = 'my_script.patch';
$errors = xdiff_file_patch($old_version, $patch, 'my_script-1.1.php');
if (is_string($errors)) {
echo 'Rejects:'.PHP_EOL;
echo $errors;
}
?>
See also libxdiff.
1.2.1624.1. Specs¶
Short name |
Extensions/Extxdiff |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |