File manager - Edit - /opt/alt/tests/alt-php80-pecl-xdiff_2.1.1-1.el8/tests/015.phpt
Back
--TEST-- xdiff_file_patch_binary() with rabdiff patch --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php xdiff_file_patch_binary(__DIR__ . '/file.1', __DIR__ . '/file.rabdiff', __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
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings