summaryrefslogtreecommitdiff
path: root/sapi/cli/tests
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2019-11-08 23:29:12 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2019-11-11 14:54:55 +0100
commit27e83d0fb87c04b61441fb77e963dd4e14ad187e (patch)
tree1b35b21c48c54f353e643d29dd2306d8e1ba084a /sapi/cli/tests
parent2804ea612779b89d3c62d974eb35783dd31f7dee (diff)
downloadphp-git-27e83d0fb87c04b61441fb77e963dd4e14ad187e.tar.gz
Add union return types for function stubs
Diffstat (limited to 'sapi/cli/tests')
-rw-r--r--sapi/cli/tests/006.phpt8
1 files changed, 8 insertions, 0 deletions
diff --git a/sapi/cli/tests/006.phpt b/sapi/cli/tests/006.phpt
index 4311d9b259..b1f756d17f 100644
--- a/sapi/cli/tests/006.phpt
+++ b/sapi/cli/tests/006.phpt
@@ -74,6 +74,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #3 [ <optional> int $flags ]
Parameter #4 [ <optional> int $offset ]
}
+ - Return [ int|false ]
}
Function [ <internal:pcre> function preg_match_all ] {
@@ -84,6 +85,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #3 [ <optional> int $flags ]
Parameter #4 [ <optional> int $offset ]
}
+ - Return [ int|false|null ]
}
Function [ <internal:pcre> function preg_replace ] {
@@ -94,6 +96,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #3 [ <optional> int $limit ]
Parameter #4 [ <optional> &$count ]
}
+ - Return [ array|string|null ]
}
Function [ <internal:pcre> function preg_replace_callback ] {
@@ -105,6 +108,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #4 [ <optional> &$count ]
Parameter #5 [ <optional> int $flags ]
}
+ - Return [ array|string|null ]
}
Function [ <internal:pcre> function preg_replace_callback_array ] {
@@ -115,6 +119,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #3 [ <optional> &$count ]
Parameter #4 [ <optional> int $flags ]
}
+ - Return [ array|string|null ]
}
Function [ <internal:pcre> function preg_filter ] {
@@ -125,6 +130,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #3 [ <optional> int $limit ]
Parameter #4 [ <optional> &$count ]
}
+ - Return [ array|string|null ]
}
Function [ <internal:pcre> function preg_split ] {
@@ -134,6 +140,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #2 [ <optional> int $limit ]
Parameter #3 [ <optional> int $flags ]
}
+ - Return [ array|false ]
}
Function [ <internal:pcre> function preg_quote ] {
@@ -150,6 +157,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
Parameter #1 [ <required> array $input ]
Parameter #2 [ <optional> int $flags ]
}
+ - Return [ array|false ]
}
Function [ <internal:pcre> function preg_last_error ] {