(PECL xdiff >= 0.2.0)
Patch a string with an unified diff
string xdiff_string_patch ( string $str, string $patch [, int $flags [, string &$error ]] )
Patches a str string with an unified patch in patch parameter and returns the result. patch has to be an unified diff created by xdiff_file_diff()/xdiff_string_diff() function. An optional flags parameter specifies mode of operation. Any rejected parts of the patch will