PHP - xdiff string_patch_binary() 函式



xdiff_string_patch_binary() 函式是 xdiff_string_bpatch() 的別名。

語法

string xdiff_string_patch_binary( string $str , string $patch )

xdiff_string_patch_binary() 函式使用二進位制補丁修補字串。此函式可以接受透過 xdiff_string_bdiff() 和 xdiff_string_rabdiff() 或其檔案對應部分建立的補丁。

xdiff_string_patch_binary() 函式可以返回已修補的字串或錯誤時的 false。

php_function_reference.htm
廣告