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

Convert PDO Statement constructor arguments to HashTable* #9725

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Oct 11, 2022

Stepping stone for using named_params in the FCI directly.

Split out of #9723 because it a rather consequential change.

One thing I'm not sure about, is that currently PDO can currently pass arguments by-reference to te constructor when the fetch mode is FETCH_CLASS. I'm not sure if this sensible at all, but in any case this PR would break this.

Is this breaking change sensible in theory, or does it really make sense for PDO to pass args by ref to the constructor?

Stepping stone for using named_params in the FCI directly
Copy link
Contributor

@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.

Is this breaking change sensible in theory, or does it really make sense for PDO to pass args by ref to the constructor?

Good question! I suggest to write to internals; maybe someone can clarify.

@cmb69
Copy link
Contributor

cmb69 commented Oct 19, 2022

Discussion thread: https://externals.io/message/118847

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.

None yet

2 participants