Yii2 and Zephir

hi.

I work on php to Zephir converter.

I do some tests with Yii 2.0.1 and Zephir 0.6.2a.

Here is a report of founded issues.




ERROR SUMMARY:

--------------


 261 : 'static::' not implemented in Zephir

 181 : Global code not implemented in Zephir, skipped

  70 : References are not implemented in Zephir.

  38 : Property def must be before methods

  28 : 'for' not implemented in Zephir (workaround)

  19 : Indirect callbacks not implemented yet

  16 : HEREDOC not implemented yet

  11 : Traits not implemented yet

   9 : 'use' in function not implemented yet

   8 : __DIR__ and __FILE__ constants not defined in Zephir

   7 : Labels and goto not implemented in Zephir

   2 : Eval is not implemented in Zephir.

   2 : include, include_once, require_once not implemented in Zephir



Interesting but, as far as I can see, there’s much work to be done in order for it to run Yii.

Yes, Yii can`t be converted now.

If Zephir`s team add above features, I will send a new report.

Great. Keep us updated. Thanks!