|
PHP5中文手册
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. 范例
Example#1 xdiff_string_patch() example The following code applies changes to some article.
<?php |