Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Hi every one,
Is there any tool to compile php condes and that works with fuelphp?
Not that I am aware of. I don't know anyone who tried or felt the need to.
Hi, Did you checked
Let me know if it helped
: that's not a compiler.
PHP by default runs the code to an interpreter.
You can find more information about how PHP executes in
You could try
which does compile it into bytecode which is then compiled using a JIT compiler (just like Java works).
Using HHVM can be a big upgrade IF you are willing to learn how to use it properly (don't ask me, I barely scraped the surface of it).
One of the major upsides of HHVM is that it compiles the code one, then reuses the same bytecode over and over again, which is massively faster than just interpreting.
However, PHP can just use OPcache to achieve pretty much the same.
It also does require more setup, and less code might work out-of-the-box.
So unless your app requires thousands if not millions of transactions per second and you're willing to rewrite code to work with HHVM, using HHVM might not be what you want (though it can be fun to look in none-the-less!).
For alternatives, your options are pretty much non-existent.
The power of PHP is that it doesn't have to be compiled.
And not to forget, PHP 7 is virtually as fast as HHVM.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion