:: **Zploit** v1.0 | Current Path: **/opt/alt/tests/alt-php84-pecl-xdiff_2.2.0-2.el8/tests/**
:: Editing File: 009.phpt
--TEST-- xdiff_file_patch_binary() --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php xdiff_file_patch_binary(__DIR__ . '/file.1', __DIR__ . '/file.bdiff', __DIR__ . '/file.p'); $a = file_get_contents(__DIR__ . '/file.2'); $b = file_get_contents(__DIR__ . '/file.p'); echo strcmp($a, $b); unlink(__DIR__ . '/file.p'); ?> --EXPECT-- 0