📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 18:28:40
📂
/
/
opt
/
alt
/
tests
/
alt-php81-pecl-xdiff_2.2.0-1.el8
/
tests
✏️
Editing: 021.phpt
--TEST-- xdiff_string_patch_binary() with binary data and rabdiff patch --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php $a = file_get_contents(__DIR__ . '/zend.png'); $b = file_get_contents(__DIR__ . '/logo.rabdiff'); $c = xdiff_string_patch_binary($a, $b); $d = file_get_contents(__DIR__ . '/php.png'); echo strcmp($c, $d); ?> --EXPECT-- 0
💾 Save Changes
❌ Cancel