Skip to content

Commit 6076e4a

Browse files
committed
Change to in array_unshift(), to be more consistent and descriptive.
1 parent 260b866 commit 6076e4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function array_pop(array &$stack): mixed {}
143143

144144
function array_shift(array &$stack): mixed {}
145145

146-
function array_unshift(array &$stack, mixed ...$vars): int {}
146+
function array_unshift(array &$stack, mixed ...$values): int {}
147147

148148
function array_splice(array &$array, int $offset, ?int $length = null, mixed $replacement = []): array {}
149149

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: 176e4b32ec422c9e457451eb367c8772aa838a5c */
2+
* Stub hash: bc8e07eaf3d7a13a2c7f273c513eabc8bfd6add9 */
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)
@@ -196,7 +196,7 @@ ZEND_END_ARG_INFO()
196196

197197
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_unshift, 0, 1, IS_LONG, 0)
198198
ZEND_ARG_TYPE_INFO(1, stack, IS_ARRAY, 0)
199-
ZEND_ARG_VARIADIC_TYPE_INFO(0, vars, IS_MIXED, 0)
199+
ZEND_ARG_VARIADIC_TYPE_INFO(0, values, IS_MIXED, 0)
200200
ZEND_END_ARG_INFO()
201201

202202
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_splice, 0, 2, IS_ARRAY, 0)

0 commit comments

Comments
 (0)