kphp icon indicating copy to clipboard operation
kphp copied to clipboard

KPHP — a PHP compiler

Results 277 kphp issues
Sort by recently updated
recently updated
newest added

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

enhancement
optimization
runtime

Draft for ArrayAccess implementation https://www.php.net/manual/en/class.arrayaccess.php

enhancement
missing functionality
compiler

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...