php-src/scripts/dev
Tim Düsterhus 08b2ab22f4
Include the source location in Closure names (#13550)
* Include the source location in Closure names

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.

* Update scripts/dev/bless_tests.php for closure naming

* Adjust existing tests for closure naming

* Adjust tests for closure naming that were not caught locally

* Drop the namespace from closure names

This is redundant with the included filename.

* Include filename and line number as separate keys in Closure debug info

* Fix test

* Fix test

* Include the surrounding class and function name in closure names

* Fix test

* Relax test expecations

* Fix tests after merge

* NEWS / UPGRADING
2024-04-12 18:21:13 +02:00
..
bless_tests.php Include the source location in Closure names (#13550) 2024-04-12 18:21:13 +02:00
check_parameters.php check_parameters.php: Make the script's retval reflect errors 2022-06-16 15:34:37 +02:00
credits Set Computer English language for credits sorting 2019-06-26 22:35:55 +02:00
find_tested.php Apply tidy formatting 2020-02-03 13:41:31 +01:00
gen_verify_stub Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
genfiles Sync YFLAGS in scripts/dev/genfiles with PHP_PROG_BISON macro defaults (#12709) 2023-11-22 22:54:09 +01:00
makedist makedist: Reset tar timestamps to the commit date (#13879) 2024-04-04 13:26:27 +02:00
search_underscores.php Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
tidy.php [skip ci] Update tidy.php excludes (#13425) 2024-02-18 18:44:49 +01:00