[php-src] PR #24632: Fix GH-24631: Report delayed OOM when compilation of the main script fails

From: Date: Sat, 24 Oct 2026 06:28:44 +0000
Subject: [php-src] PR #24632: Fix GH-24631: Report delayed OOM when compilation of the main script fails
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39801@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24632 Author: lazerg zend_execute_script() only handled a pending delayed OOM when compilation produced an op_array, so a script that hit memory_limit while compiling and then failed with a parse error reported only the parse error. The OOM is now handled in the failure path too, dropping the pending ParseError so the memory error is the one reported. Fixes GH-24631

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