<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.xdiff.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'intro.xdiff.php',
    1 => 'Вступ',
    2 => 'Вступ',
  ),
  'up' => 
  array (
    0 => 'book.xdiff.php',
    1 => 'xdiff',
  ),
  'prev' => 
  array (
    0 => 'book.xdiff.php',
    1 => 'xdiff',
  ),
  'next' => 
  array (
    0 => 'xdiff.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/xdiff/book.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intro.xdiff" class="preface">
  <h1 class="title">Вступ</h1>
  <p class="para">
   xdiff extension enables you to create and apply patch files containing
   differences between different revisions of files.
  </p>
  <p class="para">
   This extension supports two modes of operation - on strings and on files, as well
   as two different patch formats - unified and binary. Unified patches are excellent
   for text files as they are human-readable and easy to review. For binary files like
   archives or images, binary patches will be adequate choice as they are binary safe and
   handle non-printable characters well.
  </p>
  <p class="para">
   Starting from version 1.5.0 there are two different sets of functions for generating
   binary patches. New functions - <span class="function"><a href="function.xdiff-string-rabdiff.php" class="function">xdiff_string_rabdiff()</a></span> and 
   <span class="function"><a href="function.xdiff-file-rabdiff.php" class="function">xdiff_file_rabdiff()</a></span> generate output compatible with older functions
   but are typically faster and generate smaller results. For more details about methods of
   generating binary patches and differences between them, please check 
   <a href="http://www.xmailserver.org/xdiff-lib.html" class="link external">&raquo;&nbsp;libxdiff</a> website.
  </p>
  <p class="para">
   This extension uses libxdiff to implement these functions. Please see
   <a href="http://www.xmailserver.org/xdiff-lib.html" class="link external">&raquo;&nbsp;http://www.xmailserver.org/xdiff-lib.html</a> for more information.
  </p>
 </div><?php manual_footer($setup); ?>