php-compiler icon indicating copy to clipboard operation
php-compiler copied to clipboard

Design and build SAPI interfaces, including cli and http interfaces

Open ircmaxell opened this issue 6 years ago • 0 comments

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

ircmaxell avatar Apr 22 '19 18:04 ircmaxell