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://www.php.net/manual/en/ini.core.php#ini.disable-functions

missing functionality
compiler

Fixed `catch` location detection. Added errors for unimplemented features and tests: - `finally` syntax - `readonly` classes syntax - `first class callable` syntax - `intersection types` - `explicit octal integer...

missing functionality
compiler

```php

enhancement
missing functionality
compiler

PHP 7.x added a lot of different things and changed a lot of behaviors. This issue is tracking the status of PHP 7 implementation in KPHP. The following emoji will...

PHP7

Depends on #764. ## Problem Given there are two ways to cast a variable to some type: * For primitive types there's `(T)$v`, where `T` is a primitive type. *...

I'm running on an M1 MacBook Pro. Just tried setting up and using the [sample](https://vkcom.github.io/kphp/kphp-basics/compile-sample-script.html) script to compile and `kphp` just comes back with "Illegal instruction" I haven't come across...

question

Sometimes wrapping a code with `fork()` may produce a compiler error that asks to "simplify" code inside the forked function. It would be nice to have an annotation like `@kphp-forkable`...

runtime
compiler

Previously we had different constant objects' name (of the same object) on each build

bug