Skip to content

Commit 97ba400

Browse files
committed
Change array_replace() to use $substitutions instead.
1 parent 91ef5c5 commit 97ba400

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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 $array, array ...$with): array {}
156+
function array_replace(array $array, array ...$substitutions): array {}
157157

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

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

ext/standard/basic_functions_arginfo.h

Lines changed: 2 additions & 2 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: f6fc6349c81059619ea724bb7ee4a16c16b2026b */
2+
* Stub hash: 20ba136b0a6ddd294e2f4b94775adc4ae74f061a */
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)
@@ -221,7 +221,7 @@ ZEND_END_ARG_INFO()
221221

222222
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_replace, 0, 1, IS_ARRAY, 0)
223223
ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
224-
ZEND_ARG_VARIADIC_TYPE_INFO(0, with, IS_ARRAY, 0)
224+
ZEND_ARG_VARIADIC_TYPE_INFO(0, substitutions, IS_ARRAY, 0)
225225
ZEND_END_ARG_INFO()
226226

227227
#define arginfo_array_replace_recursive arginfo_array_replace

0 commit comments

Comments
 (0)