[php-src] PR #24594: Make out-of-memory fatal by default

From: Date: Fri, 23 Oct 2026 09:48:22 +0000
Subject: [php-src] PR #24594: Make out-of-memory fatal by default
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39758@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24594 Author: swadhinbiswas Fixes #24584. Treat OOM as fatal by default by changing the default memory_hard_limit_percent to 100, so exceeding memory_limit terminates the process immediately instead of attempting recovery. The hard-limit check now also applies to fallible allocations. The previous recoverable behavior remains available by setting memory_hard_limit_percent=-1 (or a value above 100).

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