Skip to content

ParseException Syntax error while call static method dynamically #22

@sergeyklay

Description

@sergeyklay

From @ikandars on February 16, 2014 10:31

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 bc91853e3e8a0528481daaf26f1e04b0fab1ab33 commit id

Copied from original issue: zephir-lang/zephir#197

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions