Re: Shutdown Memory Allowance (aka Soft Memory Limit)

From: Date: Tue, 24 Sep 2019 16:43:50 +0000
Subject: Re: Shutdown Memory Allowance (aka Soft Memory Limit)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-107314@lists.php.net to get a copy of this message
On Tue, 24 Sep 2019 at 08:01, Bishop Bettini <bishop@php.net> wrote: > > Perhaps I am misunderstanding the scenario. Could you elaborate further, > perhaps provide a concrete example demonstrating where a parachute would be > needed? > For some things, catching exceptions so that other resources/locks can be released, and then just re-throwing the exception can provide much more resilient code than a simple shutdown handler can do. Or at least with a lot fewer global variables involved imo. cheers Dan Ack

« previous php.internals (#107314) next »