PHP - xdiff string_bpatch() 函式



xdiff_string_bpatch() 函式使用二進位制差異修補字串。

語法

 string xdiff_string_bpatch( string $str , string $patch )

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

xdiff_string_bpatch() 函式可以返回已修補的字串,或者在出錯時返回 false。

php_function_reference.htm
廣告