Viewing File: /opt/alt/tests/alt-php81-pecl-xdiff_2.1.1-1.el8/tests/002.phpt

--TEST--
xdiff_string_diff()
--SKIPIF--
<?php if (!extension_loaded("xdiff")) print "skip"; ?>
--FILE--
<?php 
$a = file_get_contents(__DIR__ . '/file.1');
$b = file_get_contents(__DIR__ . '/file.2');
echo xdiff_string_diff($a, $b, 1);
?>
--EXPECT--
@@ -3,3 +3,3 @@
 echo $a;
-$b = 320;
+$b = 420;
 echo $b;

Back to Directory File Manager
<