// SYSTEM PANEL //
[ROOT]
/
opt
/
alt
/
tests
/
alt-php82-pecl-xdiff_2.1.1-1.el8
/
tests
[ PARENT ]
EDIT :: error-patch.phpt
--TEST-- xdiff_string_patch() error --SKIPIF-- <?php if (!extension_loaded("xdiff")) print "skip"; ?> --FILE-- <?php $str = "123\n456\n"; $patch = "@@ -0,0 +0,0 @@\n 789\n +012\n 345\n"; $result = xdiff_string_patch($str, $patch); var_dump($result); ?> --EXPECT-- bool(false)
SAVE
CANCEL