xdiff_file_patch

PECL xdiff >= 0.2.0
xdiff_file_patch - Patch a file with an unified diff
Manual
Code Examples

Example #1 xdiff_file_patch example

PHP Version:

Example #2 Patch reversing example

PHP Version: