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

wsl:ubuntu 22.04 ``` Starting php to cpp transpiling... Starting make... objs cnt = 14 objs cnt = 10 Compiling stage started... 0% [total jobs 18] [left jobs 18] [running jobs...

question

Имя языка = КВК - компилятор в комплекте. (да предлагаю переменовать) 1. Разрабатывай как интерпритатор, но компилируй для продакшена, если хочеш. 2. Используй корутины. Асинхронность есть. Это ваша супер фишка....

- [x] `inflate_init()` - [x] `inflate_add()` - [ ] `readgzfile()` - [ ] `gzopen()` - [ ] `gzwrite()` - [ ] `gzseek()` - [ ] `gzrewind()` - [ ] `gztell()`...

# KPHP YAML Solution for Issue #639 Implementation of 4 functions from [PHP YAML](https://www.php.net/manual/en/ref.yaml.php) using [yaml-cpp](https://github.com/jbeder/yaml-cpp): ```PHP yaml_emit_file(string $filename, mixed $data): bool yaml_emit(mixed $data): string yaml_parse_file(string $filename, int $pos =...

missing functionality

# Change urllib from 1.26.12 to 1.26.18. Reason 1. urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 303 "See Other" after the request...

Skipping default values can significantly reduce serialized message size: ```php _main(); function _main() { $with_nulls = new FooWithNulls(42); $without_nulls = new FooWithoutNulls(42); echo 'With default values: ' . strlen(instance_serialize($with_nulls)) ....

1. Update [Working with external DBs section](https://vkcom.github.io/kphp/kphp-client/working-with-external-db/invoking-postgres-etc.html) We have Postgres PDO (for example), this info is outdated. 2. Add copy button for copying code.

documentation