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

ParseException Syntax error while call static method dynamically #197

Closed
ikandars opened this issue Feb 16, 2014 · 1 comment
Closed

ParseException Syntax error while call static method dynamically #197

ikandars opened this issue Feb 16, 2014 · 1 comment
Labels

Comments

@ikandars
Copy link

I've got "Zephir\ParseException: Syntax error" when try to call a static method dynamically.

echo self::{"name"}();
-----------^
namespace Test;

class MyClass
{
    public function __construct()
    {
        echo self::{"name"}();
    }

    public static function name()
    {
        return "Jhon";
    }
}

I pulled the source from bc91853 commit id

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@sergeyklay
Copy link
Contributor

This issue was moved to zephir-lang/php-zephir-parser#22

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

2 participants