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

Synchronize manual with stubs for PHP 8.4 - part 8 #4227

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

kocsismate
Copy link
Member

No description provided.

@@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>xml_parse_into_struct</methodname>
<type class="union"><type>int</type><type>false</type></type><methodname>xml_parse_into_struct</methodname>
Copy link
Member Author

Choose a reason for hiding this comment

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

These signatures were forgotten to be updated when the relevant parameter descriptions were changed.

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Thanks for your continued work on this!

Besides the two issues below, this looks good to me.

@@ -75,7 +75,8 @@
<listitem>
<para>
An <type>array</type> whose keys are field names in the table <parameter>table_name</parameter>,
and whose values are the conditions that a row must meet to be retrieved.
and whose values are the conditions that a row must meet to be retrieved. As of PHP 8.4.0,
if an empty array is provided, no conditions will apply.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add that the function failed for an empty array, previously.

Copy link
Member Author

Choose a reason for hiding this comment

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

I hope the added sentence doesn't sound very bad

<row>
<entry>8.4.0</entry>
<entry>
<parameter>conditions</parameter> is now nullable.
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't look nullable; it's just that the parameter is now optional.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah no, I wanted to write "optional" :)

reference/pgsql/functions/pg-select.xml Outdated Show resolved Hide resolved
@kocsismate kocsismate merged commit 18aa201 into php:master Dec 3, 2024
2 checks passed
@kocsismate kocsismate deleted the php84-sync-8 branch December 3, 2024 19:16
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