Hi.
I know we ask that a lot... however, I have to ask again.
Is there a timeline? rough estimation? progress indicator? anything?
How far is 2.1 from being production-ready with PHP 7?
Thanks.
|
Apr '16 |
11 |
2790 |
1 |
Hi.
I know we ask that a lot... however, I have to ask again.
Is there a timeline? rough estimation? progress indicator? anything?
How far is 2.1 from being production-ready with PHP 7?
Thanks.
Hello friend,
Support for php7 is on the works, only the parsers (PHQL, Volt, Annotations) need to be migrated to PHP7 extensions as these sections are purely C code. We hope to have a functional version soon.
This was the last update info we got on forum I think ..
You can check this link for updates also.. https://forum.phalcon.io/discussion/9715/php-7-can-you-please-update-us-on-the-progress
I guess mr. Andres is very busy, would be nice if we could help somehow to get the support for the php 7
Support for PHP7 is available, but still in beta: https://github.com/phalcon/cphalcon/issues/10378
You'll need to compile the 2.1.x
branch using the latest version of Zephir (0.9.2a-dev
). Make sure you use this command: zephir install --backend=ZendEngine3
Yeah we have a new tutorial out for this
https://phalcon.io/phalconphp-and-php7
Support for PHP7 is available, but still in beta: https://github.com/phalcon/cphalcon/issues/10378
You'll need to compile the
2.1.x
branch using the latest version of Zephir (0.9.2a-dev
). Make sure you use this command:zephir install --backend=ZendEngine3
I've got a vagrant that begs to differ. It is probably pre-alpha, but you can now compile the 2.1.x branch on trusty
See: This Gist
also makde sure to check this
https://github.com/phalcon/cphalcon/issues/11550
also
https://github.com/phalcon/zephir/issues/1214
https://github.com/phalcon/zephir/issues/1218
https://github.com/phalcon/zephir/issues/1216
until those are fixed i wouldnt waste my time trying to complie it.
p.s. i manage to compile it etc... but it just dies in seg faults even in something as simple as
use Phalcon\Mvc\View;
$di = new \Phalcon\Di\FactoryDefault();
$di->set('view',function(){
$view=new \Phalcon\Mvc\View\Simple;
$view->registerEngines([
'.volt'=>'Phalcon\Mvc\View\Engine\Volt'
]);
return $view;
});
I think without an easily reproducible environment to test PHP7, how will we know of these problems?
The way I see it, it's just another thing off the minds of the people setting up dev & testing environments
UPDATE
Besides a few fixes to the generated code, I just ran
phalcon project test modules public true
It seemed to produce code that after a little tweaking to get around needed updates and a syntax error, worked without issue.