We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon and PHP-NG

Hello,

I was wondering what phalcon's role will be when php 7 will be released. Will it still make sense to use a framework built in c? The thing with a full php framework is that I can go into the codebase itself read it, and modify or extend code as needed if there are any bugs etc. Which I cannot do with a framework built in c.

What are your views on this?



2.1k
Accepted
answer

Hi,

long story short, 2.0 will solve your issue.

2.0 would implement zephir lang and it would certainly bridge that gap for you. Right now it is still in development, and i believe we might be pushing stable soon. (not entirely sure how soon though). As far as usability is concern, 2.0 is workable right now.

Zephir lang has syntax similar to php, and it has a compiler that compiles into native c, with all the goodness of optimization. So i would say until PHP7 comes out, which is a year or two from now, phalcon will continue to be a player in php/c framework.

In fact i might say with some of the changes made in zend engine itself, phalcon might be able to take advantage of it using zephir lang.

https://zephir-lang.com/ https://github.com/phalcon/cphalcon/tree/2.0.0/



620

Thanks a lot! That's all I wanted to know, I can now make a more informed choice.