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

See https://github.com/VKCOM/kphp/pull/613 for inspiration.

Some things that can make sites creation or web-framework creation easier: - [ ] [http_response_code](https://www.php.net/manual/ru/function.http-response-code.php) PHP 5.4 - [ ] [getenv](https://www.php.net/manual/ru/function.getenv.php) - [ ] [getcwd](https://www.php.net/manual/ru/function.getcwd.php)

enhancement

KPHP: array_first_key PHP: array_key_first There is no reason for incompatible naming here. We should fix the usages of the legacy naming, use PHP naming inside KPHP and then remove the...

Hey kphp devs \o I recently started a very similar project as kphp, without knowing about your project. :) Here's a link: https://github.com/olleharstedt/pholyglot The main idea is to take a...

Code that causes the crash: https://github.com/nikic/PHP-Parser/blob/37ac4ea9c20ffd121ea63b7a4532ad730305f11c/lib/PhpParser/Lexer.php#L492 ``` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compilation error at stage: Inline defines pass, gen by inline-defines-usages.cpp:19 vendor/nikic/php-parser/lib/Lexer.php:489 in PhpParser\Lexer::createTokenMap } elseif (defined($name = Tokens::class . '::' . $name))...

# Update KPHP `curl_setopt()` function This PR extends the options of the `curl_setopt()` function: - primitive options of the `curl_setopt()` function up to the current version of php - support...