PHP - Fonction xdiff string_bpatch ()

La fonction xdiff_string_bpatch () corrige une chaîne avec un diff binaire.

Syntaxe

string xdiff_string_bpatch( string $str , string $patch )

La fonction xdiff_string_bpatch () corrige une chaîne avec un patch binaire. Cette fonction peut accepter les correctifs créés à la fois via xdiff_string_bdiff () et xdiff_string_rabdiff () ou leurs homologues de fichier.

La fonction xdiff_string_bpatch () peut renvoyer une chaîne corrigée ou false en cas d'erreur.