|
xdiff_file_patchPatch a file with an unified diff Description
mixed xdiff_file_patch
( string
$file
, string $patch
, string $dest
[, int $flags = DIFF_PATCH_NORMAL
] )
Patches a Parameters
Return Values
Returns Examples
Example #1 xdiff_file_patch example The following code applies unified diff to a file.
<?php Example #2 Patch reversing example The following code reverses a patch.
<?php See Also
|