home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / .tmp009.phpt < prev    next >
Encoding:
Text File  |  2004-03-24  |  360 b   |  18 lines

  1. --TEST--
  2. xdiff_file_patch_binary()
  3. --SKIPIF--
  4. <?php if (!extension_loaded("xdiff")) print "skip"; ?>
  5. --POST--
  6. --GET--
  7. --INI--
  8. --FILE--
  9. <?php 
  10. xdiff_file_patch_binary('tests/file.1', 'tests/file.bdiff', 'tests/file.p');
  11. $a = file_get_contents('tests/file.2');
  12. $b = file_get_contents('tests/file.p');
  13. echo strcmp($a, $b);
  14. unlink('tests/file.p');
  15. ?>
  16. --EXPECT--
  17. 0
  18.