xdiff_file_patch_binary <<< |
xdiff_file_patch | xdiff_string_diff_binary >>> |
8.132 Fonctions xdiff 8 Référence des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Constantes pré-définies . xdiff_file_diff_binary . xdiff_file_diff . xdiff_file_merge3 . xdiff_file_patch_binary ->xdiff_file_patch . xdiff_string_diff_binary . xdiff_string_diff . xdiff_string_merge3 . xdiff_string_patch_binary . xdiff_string_patch |
8.132.9 xdiff_file_patch()Patche un fichier avec un diff unifié[ Exemples avec xdiff_file_patch ] CVS uniquement mixed xdiff_file_patch ( string file , string patch , string dest , int flags )xdiff_file_patch patche le fichier file avec le patch unifié dans le fichier patch et stocke le résultat dans le fichier dest . flags peut être soit XDIFF_PATCH_NORMAL (mode par défaut, patch normal) ou XDIFF_PATCH_REVERSE (patch inversé). Cette fonction retourne FALSE si une erreur interne s'est produite, une chaîne avec les parties rejetées du patch ou TRUE si le patch a été appliqué avec succès.
Voir aussi xdiff_string_patch . |
<< | xdiff_file_patch | >> |
xdiff_file_patch_binary | Fonctions xdiff | xdiff_string_diff_binary |