Skip to content

Finish deprecation of $row < 1#21053

Open
NattyNarwhal wants to merge 3 commits intophp:masterfrom
NattyNarwhal:odbc-row-arg-deprecation
Open

Finish deprecation of $row < 1#21053
NattyNarwhal wants to merge 3 commits intophp:masterfrom
NattyNarwhal:odbc-row-arg-deprecation

Conversation

@NattyNarwhal
Copy link
Copy Markdown
Member

odbc_fetch_row was changed to have $row be nullable and null by default instead of using 0, but still accepted 0 due to old code being explicit. Remove that special handling. Also change the message to accurately describe all possible functions.

See GH-13910. This should be merged if it passes in the 8.6 deprecations RFC.

@NattyNarwhal NattyNarwhal changed the title Finish deprecation of $row < 0 Finish deprecation of $row < 1 Jan 27, 2026
@NattyNarwhal NattyNarwhal force-pushed the odbc-row-arg-deprecation branch from 74dec6d to 882023b Compare January 28, 2026 19:44
@Girgias
Copy link
Copy Markdown
Member

Girgias commented Apr 6, 2026

I think this doesn't require an RFC any more due to the recent policy change.

@NattyNarwhal NattyNarwhal marked this pull request as ready for review April 6, 2026 14:53
odbc_fetch_row was changed to have $row be nullable and null by default
instead of using 0, but still accepted 0 due to old code being explicit.
Remove that special handling.

See phpGH-13910. This should be merged if it passes in the 8.6
deprecations RFC.
When we're testing the error, change to match the updated description,
when we're testing the default case, update from 0->1.
Rather than having the implicit default twice; keeps the test similar.
@NattyNarwhal NattyNarwhal force-pushed the odbc-row-arg-deprecation branch from 882023b to 27c025f Compare April 6, 2026 22:09
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