|
|||||||||
|
|||||||||
xdiff_string_patch(PECL xdiff:0.2-1.4) xdiff_string_patch — Patch a string with an unified diff Описание
string xdiff_string_patch
( string $str
, string $patch
[, int $flags
[, string &$error
]] )
Patches a string with a unified patch string. Список параметров
Возвращаемые значенияReturns the patched string, or FALSE on error. Примеры
Пример #1 xdiff_string_patch() example The following code applies changes to some article.
<?php | |||||||||
|
|||||||||