[php-src] PR #16602: Fix GH-16577: EG(strtod_state).freelist leaks with opcache.preload

From: Date: Fri, 25 Oct 2024 18:38:25 +0000
Subject: [php-src] PR #16602: Fix GH-16577: EG(strtod_state).freelist leaks with opcache.preload
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29402@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16602 Author: nielsdos This happens because on ZTS we execute executor_globals_ctor which reset the freelist and p5s pointers, while on NTS we don't. On NTS we can reuse the caches but on ZTS we can't, the easiest fix is to call zend_shutdown_strtod when preloading is shut down. This regressed in GH-13974 and therefore only exists in PHP 8.4 and higher.

« previous php.git-pulls (#29402) next »