Skip to content

Update the signature of dba_open() and dba_popen() #1267

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

Merged
merged 7 commits into from
Nov 7, 2022

Conversation

kocsismate
Copy link
Member

No description provided.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

The update is welcomed, I just don't recall if the changes I made landed for 8.1 or are specific to 8.2

Comment on lines +14 to +16
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>handler</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>permission</parameter><initializer>0644</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>map_size</parameter><initializer>0</initializer></methodparam>
Copy link
Member

Choose a reason for hiding this comment

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

Probably should have a note that named arguments do not work, as this signature is only the case since PHP 8.2 IIRC when I landed the changes

@kocsismate
Copy link
Member Author

Ahh, yes, I've just checked it, and this change is specific to PHP 8.2, so I'll wait with this PR until this version is ready to be documented

@kocsismate kocsismate added this to the PHP 8.2 milestone Dec 27, 2021
@kocsismate kocsismate marked this pull request as draft December 27, 2021 19:51
@Girgias Girgias self-assigned this Apr 13, 2022
@Girgias
Copy link
Member

Girgias commented Sep 13, 2022

@kocsismate can you update this PR now that we are closer to release? :)

@kocsismate kocsismate marked this pull request as ready for review November 4, 2022 18:56
@kocsismate
Copy link
Member Author

Please feel free to suggest better wording :)

kocsismate and others added 3 commits November 7, 2022 06:28
@Girgias Girgias merged commit 9264401 into php:master Nov 7, 2022
@Girgias
Copy link
Member

Girgias commented Nov 7, 2022

Thank you!

@kocsismate kocsismate deleted the dba-stubs branch November 7, 2022 14:24
claudepache pushed a commit to claudepache/php-doc-en that referenced this pull request Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants