Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZEPHIR_CALL_CE_STATIC_ZVAL is missing in ZendEngine3 #1622

Closed
xEsk opened this issue Mar 8, 2018 · 4 comments
Closed

ZEPHIR_CALL_CE_STATIC_ZVAL is missing in ZendEngine3 #1622

xEsk opened this issue Mar 8, 2018 · 4 comments
Assignees
Labels

Comments

@xEsk
Copy link

xEsk commented Mar 8, 2018

The ZEPHIR_CALL_CE_STATIC_ZVAL macro is missing in fcall.h (ZendEngine3), causing this error when trying to execute the extension:

dyld: lazy symbol binding failed: Symbol not found: _ZEPHIR_CALL_CE_STATIC_ZVAL
Referenced from: ObjectFoundation/Lib/foundation-php71.so
Expected in: flat namespace

I'm using the latest zephir (development) version.

@sergeyklay
Copy link
Contributor

@xEsk Could you please provide minimal code to reproduce

@xEsk
Copy link
Author

xEsk commented Apr 10, 2018

class Test1
{
    public static function foo()
    {
        return "hello";
    }
}

Simple test code:

var aClass = "Test1";
var method = "foo";
echo {aClass}::{method}();

@sergeyklay
Copy link
Contributor

Fixed in the development branch. Feel free to open a new issue if the problem appears again. Thank you for contributing.

@xEsk
Copy link
Author

xEsk commented Apr 27, 2018

Great! Good job! :)

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

No branches or pull requests

3 participants