File manager - Edit - /opt/alt/tests/alt-php82-pecl-xdiff_2.1.1-1.el8/tests/019.phpt
Back
--TEST-- xdiff_string_rabdiff() with binary data --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php $a = file_get_contents(__DIR__ . '/zend.png'); $b = file_get_contents(__DIR__ . '/php.png'); $c = file_get_contents(__DIR__ . '/logo.rabdiff'); $d = xdiff_string_rabdiff($a, $b); echo strcmp($c, $d); ?> --EXPECT-- 0
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.1 |
proxy
|
phpinfo
|
Settings