xdiff_string_patch
Description
string xdiff_string_patch ( string str, string patch [, int flags [, string &error]] )
Patches a string with a unified patch string.
Parameters
strThe original string.
patchThe unified patch string.
flagsflagscan be either XDIFF_PATCH_NORMAL (default mode, normal patch) or XDIFF_PATCH_REVERSE (reversed patch).errorIf provided then rejected parts are stored inside this variable.
Examples
