-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add support for generating MAY_BE_ARRAY_OF_REF func info flag #7416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d514c3b
3b2f52e
72d3f0c
a72b327
0a6b902
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -123,7 +123,10 @@ function timezone_name_from_abbr(string $abbr, int $utcOffset = -1, int $isDST = | |||||
|
||||||
function timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime): int {} | ||||||
|
||||||
/** @refcount 1 */ | ||||||
/** | ||||||
* @return array<int|string, mixed>|false | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I merged it too fast. I'll create a followup. |
||||||
* @refcount 1 | ||||||
*/ | ||||||
function timezone_transitions_get( | ||||||
DateTimeZone $object, int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX): array|false {} | ||||||
|
||||||
|
@@ -411,6 +414,7 @@ public function getName(): string {} | |||||
public function getOffset(DateTimeInterface $datetime): int {} | ||||||
|
||||||
/** | ||||||
* @return array<int|string, mixed>|false | ||||||
* @tentative-return-type | ||||||
* @alias timezone_transitions_get | ||||||
*/ | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -141,6 +141,7 @@ public function get_client_info(): string {} | |||||
|
||||||
#if defined(MYSQLI_USE_MYSQLND) | ||||||
/** | ||||||
* @return array<int|string, mixed> | ||||||
* @tentative-return-type | ||||||
* @alias mysqli_get_connection_stats | ||||||
*/ | ||||||
|
@@ -401,18 +402,21 @@ public function fetch_fields(): array {} | |||||
public function fetch_field_direct(int $index): object|false {} | ||||||
|
||||||
/** | ||||||
* @return array<int|string, mixed> | ||||||
* @tentative-return-type | ||||||
* @alias mysqli_fetch_all | ||||||
*/ | ||||||
public function fetch_all(int $mode = MYSQLI_NUM): array {} | ||||||
|
||||||
/** | ||||||
* @return array<int|string, mixed>|null|false | ||||||
* @tentative-return-type | ||||||
* @alias mysqli_fetch_array | ||||||
*/ | ||||||
public function fetch_array(int $mode = MYSQLI_BOTH): array|null|false {} | ||||||
|
||||||
/** | ||||||
* @return array<int|string, mixed>|null|false | ||||||
* @tentative-return-type | ||||||
* @alias mysqli_fetch_assoc | ||||||
*/ | ||||||
|
@@ -684,13 +688,22 @@ function mysqli_fetch_field_direct(mysqli_result $result, int $index): object|fa | |||||
*/ | ||||||
function mysqli_fetch_lengths(mysqli_result $result): array|false {} | ||||||
|
||||||
/** @refcount 1 */ | ||||||
/** | ||||||
* @return array<int|string, mixed> | ||||||
* @refcount 1 | ||||||
*/ | ||||||
function mysqli_fetch_all(mysqli_result $result, int $mode = MYSQLI_NUM): array {} | ||||||
|
||||||
/** @refcount 1 */ | ||||||
/** | ||||||
* @return array<int|string, mixed>|null|false | ||||||
* @refcount 1 | ||||||
*/ | ||||||
function mysqli_fetch_array(mysqli_result $result, int $mode = MYSQLI_BOTH): array|null|false {} | ||||||
|
||||||
/** @refcount 1 */ | ||||||
/** | ||||||
* @return array<int|string, mixed>|null|false | ||||||
* @refcount 1 | ||||||
*/ | ||||||
function mysqli_fetch_assoc(mysqli_result $result): array|null|false {} | ||||||
|
||||||
/** @refcount 1 */ | ||||||
|
@@ -713,7 +726,10 @@ function mysqli_field_tell(mysqli_result $result): int {} | |||||
function mysqli_free_result(mysqli_result $result): void {} | ||||||
|
||||||
#if defined(MYSQLI_USE_MYSQLND) | ||||||
/** @refcount 1 */ | ||||||
/** | ||||||
* @return array<int|string, mixed> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
* @refcount 1 | ||||||
*/ | ||||||
function mysqli_get_connection_stats(mysqli $mysql): array {} | ||||||
|
||||||
/** | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -469,7 +469,10 @@ function pg_get_result(PgSql\Connection $connection): PgSql\Result|false {} | |||||
/** @refcount 1 */ | ||||||
function pg_result_status(PgSql\Result $result, int $mode = PGSQL_STATUS_LONG): string|int {} | ||||||
|
||||||
/** @refcount 1 */ | ||||||
/** | ||||||
* @return array<int|string, mixed> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
* @refcount 1 | ||||||
*/ | ||||||
function pg_get_notify(PgSql\Connection $connection, int $mode = PGSQL_ASSOC): array|false {} | ||||||
|
||||||
function pg_get_pid(PgSql\Connection $connection): int {} | ||||||
|
Uh oh!
There was an error while loading. Please reload this page.