[php-src] PR #13550: Include the source location in Closure names
| From: | TimWolla | Date: | Wed, 28 Feb 2024 08:58:35 +0000 |
| Subject: | [php-src] PR #13550: Include the source location in Closure names | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25189@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13550
Author: TimWolla
This change makes stack traces involving Closures, especially multiple
different Closures, much more useful, because it's more easily visible *which*
closure was called for a given stack frame.
The implementation is similar to that of anonymous classes which already
include the file name and line number within their generated classname.
------------
/cc @derickr, as Xdebug includes a similar functionality and he might've opinions.