[php-src] PR #17869: Fix GH-17868: Cannot allocate memory with tracing JIT on 8.4.4

From: Date: Thu, 20 Feb 2025 21:06:52 +0000
Subject: [php-src] PR #17869: Fix GH-17868: Cannot allocate memory with tracing JIT on 8.4.4
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-30848@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17869 Author: nielsdos The generated code tries to initialize the run time cache for even internal closures, but it should only initialize the run time cache for user closures. This results in an out of memory error because op_array.cache_size is a nonsense value. We fix this by adding a check for the function type. If func is known, then we can check the type at code generation time. This was already an issue before 28b448ac200ccbeafdb6927f263d08b22e643711, but became more visible after that commit. This also needs fixing on PHP-8.3, I can backport this after this is handled for 8.4.

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