diff options
-rw-r--r-- | REFLECTION | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #118 xdiff version 2.1.0 ] { +Extension [ <persistent> extension #120 xdiff version 2.1.0 ] { - Constants [3] { Constant [ int XDIFF_PATCH_NORMAL ] { 45 } @@ -12,8 +12,8 @@ Extension [ <persistent> extension #118 xdiff version 2.1.0 ] { - Parameters [4] { Parameter #0 [ <required> string $str1 ] Parameter #1 [ <required> string $str2 ] - Parameter #2 [ <optional> int $context ] - Parameter #3 [ <optional> bool $minimal ] + Parameter #2 [ <optional> int $context = 3 ] + Parameter #3 [ <optional> bool $minimal = false ] } } Function [ <internal:xdiff> function xdiff_file_diff ] { @@ -22,8 +22,8 @@ Extension [ <persistent> extension #118 xdiff version 2.1.0 ] { Parameter #0 [ <required> string $file1 ] Parameter #1 [ <required> string $file2 ] Parameter #2 [ <required> string $dest ] - Parameter #3 [ <optional> int $context ] - Parameter #4 [ <optional> bool $minimal ] + Parameter #3 [ <optional> int $context = 3 ] + Parameter #4 [ <optional> bool $minimal = false ] } - Return [ bool ] } @@ -83,7 +83,7 @@ Extension [ <persistent> extension #118 xdiff version 2.1.0 ] { Parameter #0 [ <required> string $file ] Parameter #1 [ <required> string $patch ] Parameter #2 [ <required> string $dest ] - Parameter #3 [ <optional> int $flags ] + Parameter #3 [ <optional> int $flags = XDIFF_PATCH_NORMAL ] } } Function [ <internal:xdiff> function xdiff_string_patch ] { @@ -91,8 +91,8 @@ Extension [ <persistent> extension #118 xdiff version 2.1.0 ] { - Parameters [4] { Parameter #0 [ <required> string $file ] Parameter #1 [ <required> string $patch ] - Parameter #2 [ <optional> int $flags ] - Parameter #3 [ <optional> string &$error ] + Parameter #2 [ <optional> int $flags = XDIFF_PATCH_NORMAL ] + Parameter #3 [ <optional> string &$error = null ] } } Function [ <internal:xdiff> function xdiff_file_patch_binary ] { @@ -126,7 +126,7 @@ Extension [ <persistent> extension #118 xdiff version 2.1.0 ] { Parameter #0 [ <required> string $str1 ] Parameter #1 [ <required> string $str2 ] Parameter #2 [ <required> string $str3 ] - Parameter #3 [ <optional> string &$error ] + Parameter #3 [ <optional> string &$error = null ] } } } |