Skip to content

Commit 8a78f20

Browse files
committed
Remove from array_replace*().
1 parent cca6c96 commit 8a78f20

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ function array_merge(array ...$arrays): array {}
153153

154154
function array_merge_recursive(array ...$arrays): array {}
155155

156-
function array_replace(array $array1, array ...$arrays): array {}
156+
function array_replace(array $array, array ...$with): array {}
157157

158-
function array_replace_recursive(array $array1, array ...$arrays): array {}
158+
function array_replace_recursive(array $array, array ...$with): array {}
159159

160160
function array_keys(array $array, mixed $search_value = UNKNOWN, bool $strict = false): array {}
161161

ext/standard/basic_functions_arginfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: a9ee4ae1e7651a728a6d397d8608f109e27af01e */
2+
* Stub hash: 0ed0f2f81c04f2b0f4398306bd39564fd3a80532 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
55
ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
@@ -220,8 +220,8 @@ ZEND_END_ARG_INFO()
220220
#define arginfo_array_merge_recursive arginfo_array_merge
221221

222222
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_replace, 0, 1, IS_ARRAY, 0)
223-
ZEND_ARG_TYPE_INFO(0, array1, IS_ARRAY, 0)
224-
ZEND_ARG_VARIADIC_TYPE_INFO(0, arrays, IS_ARRAY, 0)
223+
ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
224+
ZEND_ARG_VARIADIC_TYPE_INFO(0, with, IS_ARRAY, 0)
225225
ZEND_END_ARG_INFO()
226226

227227
#define arginfo_array_replace_recursive arginfo_array_replace

0 commit comments

Comments
 (0)