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

При написании библиотек важно иметь возможность в CI проверить, что они полностью компилируются. Например флагом компилятора с указанием директории в которой весь код будет считаться используемым

enhancement

The current serialization function independently determines the type of message pack to which the data needs to be brought. In some cases, this functionality is not enough. For example, to...

enhancement

Пример: в родителе метод protected, в наследнике public: ```php abstract class AbstractFindActionEventListener implements EventListenerInterface { public function handle(EventInterface $event): void { $findActionEvent = instance_cast($event, FindActionEvent::class); if ($findActionEvent === null) {...

differs from PHP

[headers_sent](https://www.php.net/manual/en/function.headers-sent.php) function is missing from kphp and thou cannot be compiled

missing functionality

1. Starting from version 5.4 PHP supports predefined constant `ENT_HTML5` used as a flag for `htmlspecialchars`. This constant is currently unsupported by the compiler, given the following error: `Compilation error...

differs from PHP

I am trying to run git commands from kphp, but it haven't proc_open and similar functions. Till I am using FFI to connecting functions capable of running console commands, but...

missing functionality

https://www.php.net/manual/ru/function.stream-get-contents.php https://www.php.net/manual/ru/function.stream-get-meta-data.php

missing functionality

Add [str_getcsv()](https://www.php.net/manual/en/function.str-getcsv.php) function support in KPHP, pls.

missing functionality