yii-starter-kit / yii2-starter-kit

Yii2 Starter Kit
http://yii2-starter-kit.terentev.net
Other
1.42k stars 648 forks source link

How to compiler Yii2 starter kit project by JIT. #785

Closed h3d-tuannq closed 1 year ago

h3d-tuannq commented 2 years ago

Hi Admin, I using Yii starter kit for my project. I run project on php 8, how to i can compiler my project to assembly code by JIT and run it. thanks for answer.

XzAeRo commented 1 year ago

JIT is the way the compiler works. It compiles them when they are invoked. It can't be compiled to "assembly code", like you would compile Golang, Java, C/C++, which is at build time.

Since we support PHP8 you can use more aggressive JIT options. Learn more here: https://php.watch/versions/8.0/JIT