kphp icon indicating copy to clipboard operation
kphp copied to clipboard

Is development of KPHP still active ?

Open henrywood opened this issue 7 months ago • 0 comments

I wondered if KPHP is still being actively developed in 2024 ?

The reason I ask is that it appears certain PHP 8.x features are missing and PRs seem to exist to implement those features in KPHP.

The PRs I would really like to see merged into KPHP in the near future are these:

#303 https://github.com/VKCOM/kphp/pull/303 match expression #273 https://github.com/VKCOM/kphp/pull/273 Add support for anonymous classes #310 https://github.com/VKCOM/kphp/pull/310 added support for property promotion #333 https://github.com/VKCOM/kphp/pull/333 initial parser support for attributes #433 https://github.com/VKCOM/kphp/pull/433 Add str_contains() function #686 https://github.com/VKCOM/kphp/pull/686 [php8] Nullsafe operator implementation #690 https://github.com/VKCOM/kphp/pull/690 Added parse_ini_string, parse_ini_file functions #724 https://github.com/VKCOM/kphp/pull/724 Implementation of match expression #775 https://github.com/VKCOM/kphp/pull/775 json_encode: implemented JSON_PRETTY_PRINT, json_*: fixed float point encode/decode #780 https://github.com/VKCOM/kphp/pull/780 Implemented popen(), pclose() functions. #781 https://github.com/VKCOM/kphp/pull/781 Implemented touch() function. #853 https://github.com/VKCOM/kphp/pull/853 Named args #824 https://github.com/VKCOM/kphp/pull/824 Implementation of enum #981 https://github.com/VKCOM/kphp/pull/981 Added errors for unimplemented features

However, as I just recently discovered KPHP I am unsure if the reason they are not merged is because some other, already merged PR already implements the PHP feature in question ? I seem to recall having seen that str_contains is already in KPHP 8 - and yet there's a PR to add it ?

I haven't actually been using KPHP yet but I am trying to figure out if it is a feasable route for me going forward.

Thanks.

henrywood avatar Jul 16 '24 14:07 henrywood