PHP 8.1.28 Released!

xdiff_string_patch_binary

(PECL xdiff >= 0.2.0)

xdiff_string_patch_binaryxdiff_string_bpatch() のエイリアス

説明

xdiff_string_patch_binary(string $str, string $patch): string

文字列 str に、バイナリ形式のパッチ patch を適用します。 この関数は、xdiff_string_bdiff() 関数あるいは xdiff_string_rabdiff() そしてそれぞれのファイル版が作成したパッチを受け取ることができます。

バージョン 1.5.0 以降、この関数は xdiff_string_bpatch() のエイリアスとなりました。

パラメータ

str

元のバイナリ文字列。

patch

バイナリパッチ文字列。

戻り値

パッチ適用後の文字列、あるいはエラー時に false を返します。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top