Re: Introducing compile time code execution to PHP preloading
| From: | Robert Hickman | Date: | Sun, 12 Jan 2020 20:37:14 +0000 |
| Subject: | Re: Introducing compile time code execution to PHP preloading | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108104@lists.php.net to get a copy of this message | ||
> Once you are in a live environment you want a read-only file system, for security and
> auditability. Code generation at that point is then impossible. Moving that code gen to a
> preloader wouldn't help with that.
My proposal has no impact on the file system. It would modify the AST,
and thus would be entirely in RAM as opcache is also in ram. No source
files involved at all.