kphp icon indicating copy to clipboard operation
kphp copied to clipboard

KPHP — a PHP compiler

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

The problem I'm trying to solve is described in the corresponding issue #997. The patch replaces hardcoded installation paths with paths from GNUInstallDirs. This should help ensure cross-distribution builds, at...

I'm building kphp for ALT Linux (which is an rpm-based distribution), and after building the libraries are not installed correctly. libtlo_parsing is installed into /usr/lib directory. libvk-flex-data is installed into...

* Enable .so target in mac os * Update compiler versions. At least clang-14 or gcc-10

Some things about `VertexAdaptor`: * Comparison Operator Limitation: the comparison operator is defined only when there is a single template parameter. * Template Friends: this class utilizes template friends classes...

compiler

Previously, we had failing `assert` when forces compiler to use 102 threads, meanwhile 102 equals `MAX_THREADS_COUNT`. Example: ``` $ ./objs/bin/kphp2cpp dev_kphp/echo.php -t 102 -o a Starting php to cpp transpiling......

small fix
compiler

The problem was related to using epoll-shim, which relies on the kqueue() function. If you review the [documentation](https://www.opennet.ru/man.shtml?topic=kqueue&category=2) for kqueue(), you will see that it states the following: "The kqueue()...

bug

similar to https://lists.ubuntu.com/archives/foundations-bugs/2024-February/509420.html fixes https://github.com/VKCOM/kphp/actions/runs/8835950317/job/24261741144

Since [November](https://github.com/VKCOM/kphp/pull/897), HTTP requests have stopped working on macOS.

bug

Added errors for unimplemented features and tests: - `finally` syntax - `readonly` classes syntax - `first class callable` syntax - `intersection types` - `explicit octal integer literal` notation - `constants...

# Sessions This PR adds a simple implementation of [php sessions](https://www.php.net/manual/en/book.session.php) in KPHP. ## Implemented functions - `session_start()` - `session_abort()` - `session_commit()` - `session_write_close()` - `session_gc()` - `session_status()` - `session_encode()`...