Are there any PHP -> LLVM IR translators?
Get the solution ↓↓↓I need to compile PHP source to LLVM bitcode. I've tried Raven PHP (http://code.roadsend.com/rphp) and it's able to do what i want, but the project seems to be dead. So i wanted to check for some more possible projects.
After that I found phpllvm PECL extension (http://svn.php.net/viewvc/svn/pecl/llvm/). I even have almost made it to run with trunk LLVM, but after closely looking on the code, i figured, that LLVM code is being generated only when according PHP function is being executed. Unfortunately, it's not what i want.
So i wonder, if there are more projects for translating PHP to LLVM and if not - what's the best way, from your point of view, to implement such thing?
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
Answer
Solution:
You didn't say what your goal is. If it is simply better performance and easy availablity, you might consider the HipHop PHP compiler.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: call to undefined function illuminate\encryption\openssl_cipher_iv_length()
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.