📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 21:38:51
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php84-pecl-xdiff_2.2.0-1.el8
/
tests
📍 /opt/alt/tests/alt-php84-pecl-xdiff_2.2.0-1.el8/tests
🔄 Refresh
✏️
Editing: 006.phpt
Read Only
--TEST-- xdiff_string_patch() --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php $a = file_get_contents(__DIR__ . '/file.1'); $b = file_get_contents(__DIR__ . '/file_test.diff'); $c = xdiff_string_patch($a, $b); $d = file_get_contents(__DIR__ . '/file.2'); var_dump(strcmp($c, $d)); ?> --EXPECT-- int(0)
💾 Save Changes
❌ Cancel