this post was submitted on 17 Dec 2024
1 points (100.0% liked)

PHP: The latest news in the PHP world

5 readers
1 users here now

Share and discover the latest news about the PHP ecosystem and its community. Please respect r/php's rules.

founded 1 year ago
MODERATORS
 
The original post: /r/php by /u/ReasonableLoss6814 on 2024-12-16 20:47:45.

(as in, no php files needed to run it), would you use it?

This is already possible in some respects by preloading + opcache, but it is currently quite finicky and slightly undocumented; and it requires the PHP files to be present to use. I'm talking about compiling a PHP file into an executable, directly. No php runtime installed or required, no hidden tricks (like extracting the PHP files into a temporary directory), etc.

Edit: this is often called “ahead of time compilation”

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here