php-compiler
php-compiler copied to clipboard
Design and build SAPI interfaces, including cli and http interfaces
Currently, CLI is the only interface that exists to VM and JIT. A series of SAPI interfaces is needed similar to FastCGI and the builtin HTTP server.
They need to bootstrap the runtime as needed, and execute code properly.
Additionally, every SAPI should come with a "compile" stage that can be used to define the main function when used in compile mode.
This includes defining super globals