kphp
kphp copied to clipboard
KPHP — a PHP compiler
Closes #359
KPHP display trait class name in `__CLASS__`, but should display original. Code Example: ``` trait Test { public function test() { echo __CLASS__; } } class Bu { use Test;...
# Checklist - [x] atanh - https://www.php.net/manual/en/function.atanh.php - [x] expm1 - https://www.php.net/manual/en/function.expm1.php - [x] hypot - https://www.php.net/manual/en/function.hypot.php - [x] log10 - https://www.php.net/manual/en/function.log10.php - [x] log1p - https://www.php.net/manual/en/function.log1p.php - [x] tanh...
Currently this code won't compile ```php $x = tuple(1, true); var_dump(empty($x)); // error: no matching function for call to 'f$empty(std::tuple&)' ``` But if we add implementation for `tuple` there is...
Для общения
* fixed vkext vk_win_to_utf8 escape parameter * added new vk_json_escape method to escaping some symbols (like ", `"`, ``, `"`, etc) in json string
Since KPHP provides libraries, then you need to use the LGPL - GPL license for libraries. KPHP provides: Fast Execution + Intelligence Protection, but not with the GPL. The GPL...