xdiff_file_patch(PECL xdiff:0.2-1.4) xdiff_file_patch — Patch a file with an unified diff ОписаниеPatches a file with a unified patch and stores the result in a file. Список параметров
Возвращаемые значенияReturns FALSE if an internal error happened, string with rejected chunks of patch or TRUE if patch has been successfully applied. Примеры
Пример #1 xdiff_file_patch() example The following code applies unified diff to a file.
<?phpПример #2 Patch reversing example The following code reverses a patch.
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |