[php-src] Issue #7771: Incorrect file/line blamed for errors caused by `new SomeClass`
| From: | iluuu1994 | Date: | Mon, 13 Dec 2021 22:06:24 +0000 |
| Subject: | [php-src] Issue #7771: Incorrect file/line blamed for errors caused by `new SomeClass` | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238384@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7771
Comment Author: iluuu1994
Note that this is not a fatal error and thus can be caught. https://3v4l.org/ghG5d#v8.1.0 Not sure what the full stack
trace should be if this were to be changed to the position of the constant itself. Just one more
frame with the constant AST itself?