-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Wrong line number reported in case of a multiline parameter list #8810
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
Comments
Has been like this for ages, so reclassifying as a feature request. |
iluuu1994
added a commit
to iluuu1994/php-src
that referenced
this issue
Jun 17, 2022
iluuu1994
added a commit
to iluuu1994/php-src
that referenced
this issue
Jun 17, 2022
iluuu1994
added a commit
to iluuu1994/php-src
that referenced
this issue
Jun 17, 2022
ptomulik
added a commit
to phptailors/phpunit-extensions
that referenced
this issue
Nov 17, 2023
ptomulik
added a commit
to phptailors/phpunit-extensions
that referenced
this issue
Nov 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
PHP reports the wrong line number in stacktrace in case of a multiline parameter list, for example:
The following stacktrace will be reported:
But I expected this output instead:
Although the 7th line is part of the failed function call, it would be better to report the 5th line.
PHP Version
PHP 8.1.0
Operating System
MacOS
The text was updated successfully, but these errors were encountered: