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

--TEST--
xdiff_file_diff() with context = 5
--SKIPIF--
<?php if (!extension_loaded("xdiff")) print "skip"; ?>
--FILE--
<?php 
xdiff_file_diff(__DIR__ . '/lorem1.txt', __DIR__ . '/lorem2.txt', __DIR__ . '/lorem.tmp', 5);
echo strcmp(file_get_contents(__DIR__ . '/context5.patch'), file_get_contents(__DIR__ . '/lorem.tmp'));
unlink(__DIR__ . '/lorem.tmp');
?>
--EXPECT--
0
Back to Directory File Manager
<