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

# What is mbstring While there are many languages in which every necessary character can be represented by a one-to-one mapping to an 8-bit value, there are also several languages...

enhancement
help wanted
missing functionality

For tests, we previously had (for `phpt` tests) `bool` variable - whether we need `php8` or not. This PR add possibility to choose `php7.4`, `php8`, `php8.1` or `php8.2`

Problem: 1. When we create commercial software we need build application for all Linux-based distros. 2. We can't build static binary because because some GLIBC features does not support it....

`constexpr` for `switch` was supported in #727 and #770. ## The problem Consider following snippet ```php f(new Foo()); /** * @kphp-generic T * @param T $o */ function f($o) {...

For to_array_debug(): suppressed visitting private and protected members. Because this method converts class instance to mixed for json_encode() , but json_encode must not convert private and protected fields. test case:...

Please integrate it. and add unit-test: test should fails: ```php

Please integrate putenv() function and add unit-tests. I did't understood how to add unit-tests. test code: ```php

Please integrate function touch(). I don't understood how to add unit-tests , but i wrote it. Please add. unit-test: ```php

Changes contain popen()/pclose() implementation. Please integrate it and add unit-tests. (code already working in our production build) New code added as hack without updating runtime.cmake , may be need fix...