xdiff
PHP Manual

Stałe predefiniowane

Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane do PHP, lub załadowane dynamicznie przy starcie.

XDIFF_PATCH_NORMAL (integer)
This flag indicates that xdiff_[string|file]_patch functions should create result by applying patch to original content thus creating newer version of file. This is the default mode of operation.
XDIFF_PATCH_REVERSE (integer)
This flag indicated that xdiff_[string|file]_patch functions should create result by reversing patch changed from newer content thus creating original version.

xdiff
PHP Manual