ZerethShell
File Manager
SQL Manager
/
opt
/
alt
/
tests
/
alt-php82-pecl-xdiff_2.1.1-1.el8
/
tests
014.phpt
--TEST-- xdiff_string_patch_binary() with rabdiff patch --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php $a = file_get_contents(__DIR__ . '/file.1'); $b = file_get_contents(__DIR__ . '/file.rabdiff'); $c = xdiff_string_patch_binary($a, $b); $d = file_get_contents(__DIR__ . '/file.2'); echo strcmp($c, $d); ?> --EXPECT-- 0
Kaydet
Vazgeç