<?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.10 $ --> <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> <refentry xml:id="function.xdiff-string-diff-binary" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xdiff_string_diff_binary</refname> <refpurpose>Alias of xdiff_string_bdiff</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>xdiff_string_bdiff</methodname> <methodparam><type>string</type><parameter>old_data</parameter></methodparam> <methodparam><type>string</type><parameter>new_data</parameter></methodparam> </methodsynopsis> <para> Makes a binary diff of two strings and returns the result. This function works with both text and binary data. Resulting patch can be later applied using <function>xdiff_string_bpatch</function>/<function>xdiff_file_bpatch</function>. </para> <para> Starting with version 1.5.0 this function is an alias of <function>xdiff_string_bdiff</function>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>old_data</parameter></term> <listitem> <para> First string with binary data. It acts as "old" data. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>new_data</parameter></term> <listitem> <para> Second string with binary data. It acts as "new" data. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns string with result or &false; if an internal error happened. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>xdiff_string_bdiff</function></member> <member><function>xdiff_string_bpatch</function></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->