<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="xdiff.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.xdiff.html">xdiff Functions</a></div> <div class="up"><a href="book.xdiff.html">xdiff</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="xdiff.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <dl> <dt id="constant.xdiff-patch-normal"> <span class="term"> <strong><code>XDIFF_PATCH_NORMAL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> This flag indicates that <span class="function"><a href="function.xdiff-string-patch.html" class="function">xdiff_string_patch()</a></span> and <span class="function"><a href="function.xdiff-file-patch.html" class="function">xdiff_file_patch()</a></span> functions should create result by applying patch to original content thus creating newer version of file. This is the default mode of operation. </span> </dd> </dt> <dt id="constant.xdiff-patch-reverse"> <span class="term"> <strong><code>XDIFF_PATCH_REVERSE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> This flag indicated that <span class="function"><a href="function.xdiff-string-patch.html" class="function">xdiff_string_patch()</a></span> and <span class="function"><a href="function.xdiff-file-patch.html" class="function">xdiff_file_patch()</a></span> functions should create result by reversing patch changed from newer content thus creating original version. </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="xdiff.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.xdiff.html">xdiff Functions</a></div> <div class="up"><a href="book.xdiff.html">xdiff</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>