Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Printer "pExpr_BinaryOp_Coalesce" does not exist /src/PhpToZephir/Converter/Dispatcher.php 117 #30

Open
HepplerDotNet opened this issue Feb 26, 2016 · 2 comments

Comments

@HepplerDotNet
Copy link

I'm getting the above error when trying to convert a simple helper class. I guess this line causes the error:

return $stdout ?? NULL;

The Null coalescing operator is new since php 7

@HepplerDotNet HepplerDotNet changed the title Printer "pExpr_BinaryOp_Coalesce" does not exist /opt/vendor/fezfez/php-to-zephir/src/PhpToZephir/Converter/Dispatcher.php 117 Printer "pExpr_BinaryOp_Coalesce" does not exist /src/PhpToZephir/Converter/Dispatcher.php 117 Feb 26, 2016
@NikoGrano
Copy link

Can this be fixed @fezfez ?

@fezfez
Copy link
Owner

fezfez commented Nov 9, 2017

This only can be achived by moving to PHP-Parser:3.0~, this need a lot of work and i have no time these days... can you make a PR ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants