📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 11:38:19
📂
/
/
opt
/
alt
/
tests
/
alt-php85-pecl-xdiff_2.2.0-1.el8
/
tests
✏️
Editing: 031.phpt
--TEST-- xdiff_string_patch() with context5.patch and reverse patching --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php $a = file_get_contents(__DIR__ . '/lorem2.txt'); $b = file_get_contents(__DIR__ . '/context5.patch'); $c = xdiff_string_patch($a, $b, XDIFF_PATCH_REVERSE); $d = file_get_contents(__DIR__ . '/lorem1.txt'); echo strcmp($c, $d); ?> --EXPECT-- 0
💾 Save Changes
❌ Cancel