Skip to content
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

Add support for generating MAY_BE_ARRAY_OF_REF func info flag #7416

Merged
merged 5 commits into from
Aug 30, 2021

Conversation

kocsismate
Copy link
Member

No description provided.

build/gen_stub.php Outdated Show resolved Hide resolved
build/gen_stub.php Outdated Show resolved Hide resolved
build/gen_stub.php Outdated Show resolved Hide resolved
ext/filter/filter.stub.php Outdated Show resolved Hide resolved
Zend/zend_builtin_functions.stub.php Show resolved Hide resolved
Zend/Optimizer/zend_func_infos.h Outdated Show resolved Hide resolved
@kocsismate kocsismate merged commit 8e6e983 into php:master Aug 30, 2021
@kocsismate kocsismate deleted the stub-array-ref branch August 30, 2021 11:50
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @return array<int|string, mixed>|false
* @return array<int, array>|false

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I merged it too fast. I'll create a followup.

@@ -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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @return array<int|string, mixed>
* @return array<string, mixed>

@@ -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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @return array<int|string, mixed>
* @return array<int|string, int|string>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants