PATH:
opt
/
alt
/
tests
/
alt-php56-pecl-xdiff_1.5.2-1.el8
/
tests
--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;
[-] 009.phpt
[edit]
[-] merge2.h
[edit]
[-] 005.phpt
[edit]
[-] 003.phpt
[edit]
[-] merge3.h
[edit]
[-] 007.phpt
[edit]
[-] 008.phpt
[edit]
[-] file.bdiff
[edit]
[-] merge4.h
[edit]
[-] 001.phpt
[edit]
[-] file_test.diff
[edit]
[-] file.2
[edit]
[-] 002.phpt
[edit]
[-] 006.phpt
[edit]
[-] file.1
[edit]
[-] 004.phpt
[edit]
[+]
..
[-] merge1.h
[edit]
[-] 010.phpt
[edit]
[-] 011.phpt
[edit]