Skip to content

Commit 68eed79

Browse files
committed
Address review comments
1 parent 2505771 commit 68eed79

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

Zend/Optimizer/zend_func_infos.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ static const func_info_t func_infos[] = {
231231
#if defined(HAVE_SYMLINK) || defined(PHP_WIN32)
232232
F1("readlink", MAY_BE_STRING|MAY_BE_FALSE),
233233
#endif
234-
F1("pow", MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_OBJECT),
235234
F1("decbin", MAY_BE_STRING),
236235
F1("decoct", MAY_BE_STRING),
237236
F1("dechex", MAY_BE_STRING),
@@ -268,7 +267,6 @@ static const func_info_t func_infos[] = {
268267
F1("stream_socket_client", MAY_BE_RESOURCE|MAY_BE_FALSE),
269268
F1("stream_socket_server", MAY_BE_RESOURCE|MAY_BE_FALSE),
270269
F1("stream_socket_accept", MAY_BE_RESOURCE|MAY_BE_FALSE),
271-
F1("stream_socket_get_name", MAY_BE_STRING|MAY_BE_FALSE),
272270
F1("stream_socket_recvfrom", MAY_BE_STRING|MAY_BE_FALSE),
273271
#if HAVE_SOCKETPAIR
274272
F1("stream_socket_pair", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_RESOURCE|MAY_BE_FALSE),

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,6 @@ function intdiv(int $num1, int $num2): int {}
13021302

13031303
function is_infinite(float $num): bool {}
13041304

1305-
/** @refcount 1 */
13061305
function pow(mixed $num, mixed $exponent): int|float|object {}
13071306

13081307
function exp(float $num): float {}
@@ -1524,10 +1523,7 @@ function stream_socket_server(string $address, &$error_code = null, &$error_mess
15241523
*/
15251524
function stream_socket_accept($socket, ?float $timeout = null, &$peer_name = null) {}
15261525

1527-
/**
1528-
* @param resource $socket
1529-
* @refcount 1
1530-
*/
1526+
/** @param resource $socket */
15311527
function stream_socket_get_name($socket, bool $remote): string|false {}
15321528

15331529
/**

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 1 deletion
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: 37a7b9bdd688cd79929ce53c106e8f17dd87e080 */
2+
* Stub hash: 386940942fc177fac3055db915946c57a758ff3f */
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)

0 commit comments

Comments
 (0)