kphp
kphp copied to clipboard
KPHP — a PHP compiler
Refactor compiler/threading: * Switch to `std::atomic` instead of `volatile` * Use `alignas` to cache-align shared structs * Use proper memory orderings instead of default seq_cst
Is it possible for kphp / kphp2cpp to provide an option that allows for a preprocessing step before PHP code is parsed? Currently, most Composer packages cannot be used directly...
### `JSON_PRETTY_PRINT` This MR unifies `json_encode()` function and `JsonEncoder` class behaviors, including `JSON_PRETTY_PRINT` parameter processing in `json_encode()` function
Goals: * Remove useless `rt_sigprocmask` syscall invocation during user context manipulation * Add platform-independent API for user context-related things Related issues: KPHP-1944
Draft for ArrayAccess implementation https://www.php.net/manual/en/class.arrayaccess.php
Could someone please provide an ultra-short example of how to respond to an *UNTYPED* RPC request ? The documentation only appears to show how to do *TYPED* RPC ? Let's...