php-src/ext/zend_test
Bob Weinand e6cf583160 Fix GH-8082: Prevent leaking memory on observed transient run_time_caches
This is achieved by tracking the observers on the run_time_cache (with a fixed amount of slots, 2 for each observer).
That way round, if the run_time_cache is freed all associated observer data is as well.

This approach has been chosen, as to avoid any ABI or API breakage.
Future versions may for example choose to provide a hookable API for run_time_cache freeing or similar.
2022-03-01 14:49:44 +01:00
..
tests Fix GH-8082: Prevent leaking memory on observed transient run_time_caches 2022-03-01 14:49:44 +01:00
config.m4 Add AS_HELP_STRING to *nix build configure options 2019-03-07 20:36:59 +01:00
config.w32 Fix MSVC level 1 (severe) warnings 2020-06-05 11:17:05 +02:00
php_test.h Merge branch 'PHP-7.4' into PHP-8.0 2020-10-30 15:49:48 +01:00
test.c Add ZEND_API for weakmap functionality via zend_weakrefs_hash_add/del 2021-10-21 13:34:22 +02:00
test.stub.php Add string return type to __toString() of internal classes 2021-11-09 10:17:26 +01:00
test_arginfo.h Add string return type to __toString() of internal classes 2021-11-09 10:17:26 +01:00