xdiff_string_patch
Opis
string xdiff_string_patch ( string str, string patch [, int flags [, string &error]] )
Patches a string with a unified patch string.
Parametry
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.
Przykłady
| Poprzedni | Spis treści | Następny |
| xdiff_string_patch_binary | Początek rozdziału |