kphp
kphp copied to clipboard
KPHP — a PHP compiler
Let's imagine that we have a given current ```php
Hi, I am use ubuntu 21.10 for some benchmark testing: root@3132278f6aec:/# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 21.10 Release: 21.10 Codename: impish # `kphp...
Hi! I would like to use cURL for everything, At first for SMTP, next IMAP. But some features not supported in KPHP :( This example: https://gist.github.com/hdogan/8649cd9c25c75d0ab27e140d5eef5ce2 Works fine for PHP...
Changelog of KPHP is not being updated since november of 2020. Link to the page: https://vkcom.github.io/kphp/kphp-basics/whats-new.html
I try this script https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/binarytrees-php-3.html (with one modification, replace `$n = ($argc == 2) ? $argv[1] : 1;` with `$n = 16;`) Php without jit: ``` stretch tree of depth...
Hi, all! ini_get() return error when ini-variable not defined. But I won't get any errors for this. I would like to call ```php $vars = ini_get_all(); ``` and read defined...
# RFC: Type aliases ## Background Some VKCOM legacy code is built on associative arrays with lots of parameters. To type such arrays, KPHP have a special `shape` type that...
Previously, we compiled a string switch as follow: 1. compute a tag (condition) string hash 2. switch over precomputed hashes of cases 3. inside a switch case, do `equals()` for...