xdiff_string_patch

(no version information, might be only in CVS)

xdiff_string_patch --  Patch a string with an unified diff.

Description

string xdiff_string_patch ( string str, string patch [, int flags [, string & error]])

xdiff_string_patch() patches string str with unified patch in string patch.

flags can be either XDIFF_PATCH_NORMAL (default mode, normal patch) or XDIFF_PATCH_REVERSE (reversed patch).

If error is passed then rejected parts are stored inside this variable.

Returns a patched string.

See also xdiff_file_patch().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека