Skip to content

Missing param in arginfo_pdostatement_setfetchmode #3803

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

Closed
wants to merge 1 commit into from
Closed

Missing param in arginfo_pdostatement_setfetchmode #3803

wants to merge 1 commit into from

Conversation

carusogabriel
Copy link
Contributor

Reopening #3114 as master now is PHP 8.0.

PDO::setFetchMode receives up to 3 params
@carusogabriel carusogabriel added this to the PHP 8.0 milestone Feb 8, 2019
@nikic
Copy link
Member

nikic commented Feb 8, 2019

Not sure on this one. It's an overloaded signature with different number of arguments depending on the first argument, we don't have a way to model that accurately.

@carusogabriel
Copy link
Contributor Author

@nikic Is okay to merge or your comment is still relevant? Indeed this function has some various formats at userland.

@nikic
Copy link
Member

nikic commented Feb 11, 2019

@carusogabriel It's okay to merge, I think. We have no way to make this signature full correct, but your version at least looks "more correct".

@carusogabriel
Copy link
Contributor Author

Merged via ad75511.

@carusogabriel carusogabriel deleted the patch-1 branch February 14, 2019 07:18
@carusogabriel carusogabriel removed this from the PHP 8.0 milestone Apr 25, 2020
@carusogabriel carusogabriel added this to the PHP 8.0 milestone May 29, 2020
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.

2 participants