Re: [Discussion] Sandbox API

From: Date: Wed, 07 Aug 2024 13:51:15 +0000
Subject: Re: [Discussion] Sandbox API
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Aug 6, 2024, at 3:09 AM, Nick Lockheart <[email protected]> wrote:
> 
> 
> Sand Box: A first class API that allows unit testing of code with mocks
> and stubs of other classes or functions, without the need to modify the
> class under test.

This honestly feels like it's going to be a repeat of safe_mode.

What might be better is exposing OS things like Capsicum or unveil when
possible. Capabilities are probably the right way to deal with this kind
of thing, after all.


Thread (15 messages)

« previous php.internals (#124825) next »