Implementation and architecture
Main KPHP parts are the following:
- compiler — translates PHP sources to C++ sources
- runtime — implements PHP standard library and PHP types (strings, arrays, etc.)
- server — handles HTTP requests and performs master/worker orchestration
- vkext — exposes network layer and RPC/TL as a PHP extension for development
You can see all these parts as top-level folders of the KPHP repository.