File manager - Edit - /opt/alt/tests/alt-php80-pecl-xdiff_2.1.1-1.el8/tests/033.phpt
Back
--TEST-- xdiff_file_patch() and context5.patch --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php xdiff_file_patch(__DIR__ . '/lorem1.txt', __DIR__ . '/context5.patch', __DIR__ . '/lorem.tmp'); $a = file_get_contents(__DIR__ . '/lorem2.txt'); $b = file_get_contents(__DIR__ . '/lorem.tmp'); echo strcmp($a, $b); unlink(__DIR__ . '/lorem.tmp'); ?> --EXPECT-- 0
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.1 |
proxy
|
phpinfo
|
Settings