We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://psalm.dev/r/191a7078ad
Expected: TaintedInput warnings for all 3 echo statements (possibly impractical to generalize for array keys) Observed: No issues were emitted
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php // --taint-analysis // $_GET can contain arrays, e.g. example.php?foo[keyinput]=input foreach ($_GET['foo'] as $key => $arg) { echo $key; echo $arg; } function test(...$args) { echo $args[0]; } // Argument unpacking (but not varargs) seems to cause issues test(...$_GET['other']);
Psalm output (using commit de85e7c): No issues!
Sorry, something went wrong.
Add support for argument unpacking
a6c7a48
Ref #3670
dd25b81
No branches or pull requests
See https://psalm.dev/r/191a7078ad
Expected: TaintedInput warnings for all 3 echo statements (possibly impractical to generalize for array keys)
Observed: No issues were emitted
The text was updated successfully, but these errors were encountered: