%F2pNU'F2pNU@(F2pNU)F2pNU*F2pNU,F2pNU@-F2pNU.F2pNU/F2pNU1F2pNU@2F2pNU3F2pNU4F2pNU6F2pNU@7F2pNU8F2pNU9F2pNU;F2pNU@F2pNU@F2pNU@AF2pNUBF2pNUCF2pNUEF2pNU@FF2pNUGF2pNUHF2pNUJF2pNU@KF2pNULF2pNUMF2pNUOF2pNU@`F2pNUaF2pNUbF2pNUdF2pNU@eF2pNUfF2pNUgF2pNUiF2pNU@jF2pNUkF2pNUlF2pNUnF2pNU@oF2pNUpF2pNUqF2pNUsF2pNU@tF2pNUuF2pNUvF2pNUxF2pNU@yF2pNUzF2pNU{F2pNU}F2pNU@~F2pNUF2pNUF2pNUF2pNU@F2pNUF2pNUF2pNUF2pNU@F2pNUF2pNUF2pNUF2pNU@F2pNUF2pNUF2pNU* @param string $dest Path of the resulting file. * @throws XdiffException * */ function xdiff_file_patch_binary(string $file, string $patch, string $dest): void { error_clear_last(); $safeResult = \xdiff_file_patch_binary($file, $patch, $dest); if ($safeResult === false) { throw XdiffException::createFromPhpError(); } } /** * Makes a binary diff of two files and stores the result in a patch file. * The difference between this function and xdiff_file_bdiff is different * algorithm used which should result in faster execution and smaller diff produced. * This function works with both text and binary files. Resulting patch * file can be later applied using xdiff_file_bpatch/xdiff_string_bpatch. * * For more details about differences between algorithm used please check libxdiff * website. * * @param string $old_file Path to the first file. This file acts as "old" file. * @param string $new_file Path to the second file. This file acts as "new" file. * @param string $dest Path of the resulting patch file. Resulting file contains differences * between "old" and "new" files. It is in binary format and is human-unreadable. * @throws XdiffException * */ function xdiff_file_rabdiff(string $old_file, string $new_file, string $dest): void { error_clear_last(); $safeResult = \xdiff_file_rabdiff($old_file, $new_file, $dest); if ($safeResult === false) { throw XdiffException::createFromPhpError(); } } /** * Patches a string str with a binary patch. * This function accepts patches created both via xdiff_string_bdiff * and xdiff_string_rabdiff functions or their file counterparts. * * @param string $str The original binary string. * @param string $patch The binary patch string. * @return string Returns the patched string. * @throws XdiffException * */ function xdiff_string_bpatch(string $str, string $patch): string { error_clear_last(); $safeResult = \xdiff_string_bpatch($str, $patch); if ($safeResult === false) { throw XdiffException::createFromPhpError(); } return $safeResult; } /** * Patches a string str with a binary patch. * This function accepts patches created both via xdiff_string_bdiff * and xdiff_string_rabdiff functions or their file counterparts. * * Starting with version 1.5.0 this function is an alias of xdiff_string_bpatch. * * @param string $str The original binary string. * @param string $patch The binary patch string. * @return string Returns the patched string. * @throws XdiffException * */ function xdiff_string_patch_binary(string $str, string $patch): string { error_clear_last(); $safeResult = \xdiff_string_patch_binary($str, $patch); if ($safeResult === false) { throw XdiffException::createFromPhpError(); } return $safeResult; } /** * Patches a str string with an unified patch in patch parameter * and returns the result. patch has to be an unified diff created by * xdiff_file_diff/xdiff_string_diff function. * An optional flags parameter specifies mode of operation. Any * rejected parts of the patch will be stored inside error variable if * it is provided. * * @param string $str The original string. * @param string $patch The unified patch string. It has to be created using xdiff_string_diff, * xdiff_file_diff functions or compatible tools. * @param int $flags flags can be either * XDIFF_PATCH_NORMAL (default mode, normal patch) * or XDIFF_PATCH_REVERSE (reversed patch). * * Starting from version 1.5.0, you can also use binary OR to enable * XDIFF_PATCH_IGNORESPACE flag. * @param string|null $error If provided then rejected parts are stored inside this variable. * @return string Returns the patched string. * @throws XdiffException * */ function xdiff_string_patch(string $str, string $patch, int $flags = null, ?string &$error = null): string { error_clear_last(); if ($error !== null) { $safeResult = \xdiff_string_patch($str, $patch, $flags, $error); } elseif ($flags !== null) { $safeResult = \xdiff_string_patch($str, $patch, $flags); } else { $safeResult = \xdiff_string_patch($str, $patch); } if ($safeResult === false) { throw XdiffException::createFromPhpError(); } return $safeResult; } An Error Occurred: Internal Server Error

Oops! An Error Occurred

The server returned a "500 Internal Server Error".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.