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
type in the out parameter of parse_str doesn't support nested arrays and doesn't represent the real value used by the function.
parse_str
<?php parse_str('filter[x][y]=0', $output); print $output['filter']['x']['y'];
https://phpstan.org/r/6f758dd6-6fff-4bb7-b80c-c74946f01e74
The issue is reported incorrectly since PHP 8.1 executes this code without errors.
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug report
type in the out parameter of
parse_str
doesn't support nested arrays and doesn't represent the real value used by the function.Code snippet that reproduces the problem
https://phpstan.org/r/6f758dd6-6fff-4bb7-b80c-c74946f01e74
Expected output
The issue is reported incorrectly since PHP 8.1 executes this code without errors.
The text was updated successfully, but these errors were encountered: