Skip to content

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Apr 8, 2022

Turns out there are a couple of them, but very confused as to why the Zend/tests/arginfo_zpp_mismatch.phpt test hasn't caught them.

@cmb69
Copy link
Member

cmb69 commented Apr 8, 2022

[…] but very confused as to why the Zend/tests/arginfo_zpp_mismatch.phpt test hasn't caught them.

I think that test only catches issues regarding the wrong number of parameters. Since any parameter count is allowed, there's no issue reported.

Anyhow, not sure about BC concerns with this PR. Of course, users shouldn't pass any arguments to these methods, but some may do.

@Girgias
Copy link
Member Author

Girgias commented Apr 8, 2022

erf I forgot it only erros/warns in a debug build and not a release one. I was planing to consider this as a bugfix, but I'll rebase onto master and merge the other SPL stuff and add some comments to UPGRADING

@Girgias Girgias changed the base branch from PHP-8.0 to master April 8, 2022 16:06
@Girgias Girgias force-pushed the spl-dir-zpp-miss branch from 813a1ed to cba498b Compare April 8, 2022 16:07
Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
@Girgias Girgias merged commit 3931d72 into php:master Apr 8, 2022
@Girgias Girgias deleted the spl-dir-zpp-miss branch April 8, 2022 16:58
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.

3 participants