On Aug 2, 2012, at 17:16, Ángel González <keis...@gmail.com> wrote:

> On 03/08/12 01:22, Sara Golemon wrote:
>> In all seriousness, I'd love to hear how you'd do Sandboxing without
>> using the tsrm context hack I used in runkit.  That approach had
>> nothing to do with being in PECL, it had to do with that being the
>> only mechanism available to swap globals in and out at will.
> Actually, you could replace the whole EG() struct. It'd be slower, but
> it should work flawlessly.
> 
What about FG, EX, PG, MYSQLG, etc...  God forbid you have an extension loaded 
which won't react well to having some globals replaced, but not its own.

Give me some credit, I considered that option some half a decade ago. :p
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to