KPHP — a PHP compiler · KPHP compiles a limited subset of PHP, making it run faster than plain PHP

KPHP — a PHP compiler Github page KPHP is a PHP compiler. It compiles a limited subset of PHP to a native binary running faster than PHP. KPHP take… (8 kB)

https://vkcom.github.io/kphp/

Ma considerando che:

  • It doesn’t support features that can’t be compiled, such as calling by name or mocks.
  • It won’t compile code, that breaks the type system, for instance, mixing numbers and objects in an array.
  • It doesn’t have PHP features that VK.com never had a need for, such as SPL classes and XML parsing.
  • Some PHP syntax details just weren’t implemented, like generators and anonymous classes.


in pratica, se davvero ne hai la necessità, fai prima a passare a Hack :slightly_smiling_face:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s