You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong line number reported in case of a multiline parameter list #8810
PHP reports the wrong line number in stacktrace in case of a multiline parameter list, for example:
<?phpfunctiontest()
{
myAssert( //this line is expected to be reportedfalse,
"message"//this line will be reported
);
}
functionmyAssert($a, $b)
{
if(!$a) thrownewErrorException($b);
}
test();
Activity
iluuu1994 commentedon Jun 17, 2022
Has been like this for ages, so reclassifying as a feature request.
workaround for php/php-src#8810
workaround php/php-src#8810