📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 16:30:11
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php83-pecl-xdiff_2.2.0-1.el8
/
tests
📍 /opt/alt/tests/alt-php83-pecl-xdiff_2.2.0-1.el8/tests
🔄 Refresh
✏️
Editing: 024.phpt
Read Only
--TEST-- xdiff_string_diff() with context = 1 --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php $a = file_get_contents(__DIR__ . '/lorem1.txt'); $b = file_get_contents(__DIR__ . '/lorem2.txt'); $patch = xdiff_string_diff($a, $b, 1); echo strcmp($patch, file_get_contents(__DIR__ . '/context1.patch')); ?> --EXPECT-- 0
💾 Save Changes
❌ Cancel