downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

xdiff_string_bpatch> <xdiff_string_bdiff_size
[edit] Last updated: Fri, 25 May 2012

view this page in

xdiff_string_bdiff

(PECL xdiff >= 1.5.0)

xdiff_string_bdiff2 つの文字列のバイナリ diff を作成する

説明

string xdiff_string_bdiff ( string $old_data , string $new_data )

ふたつの文字列のバイナリ diff を作成して結果を返します。 この関数はテキストファイルとバイナリファイルの両方に適用可能です。 できあがったパッチファイルを後で適用するには xdiff_string_bpatch()/xdiff_file_bpatch() を使用します。

パラメータ

old_data

バイナリデータを含む最初の文字列。"旧" データです。

new_data

バイナリデータを含む 2 番目の文字列。"新" データです。

返り値

"旧" データと "新" データの差分を含むバイナリ diff 文字列、 あるいは内部エラーが発生した場合は FALSE を返します。

参考



add a note add a note User Contributed Notes xdiff_string_bdiff
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites