zephir-lang/php-zephir-parser

Support nested property-access

sergeyklay opened this issue · 3 comments

From @steffengy on October 12, 2014 20:13

namespace Debug;
class ZephirDebug
{
    public arr;

    public static function test()
    {
        let this->arr = new ZephirDebug();
        let this->arr->arr = 1;
    }
}

results in

Zephir\ParseException: Syntax error in /media/rdata/projects/XXX/zephir_debug/debug/zephirdebug.zep on line 9

                let this->arr->arr = 1;
        ----------------------^

Which is probably not expected behavior?

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

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

From @aschwin on January 26, 2016 15:34

What is the status of this? It is not closed yet, but is someone still working on this?

From @steffengy on January 31, 2016 11:33

I do not think anyone wouldn't want this feature but it's unfortunately
anything but easy to implement and would either consume very much time
or cause a very big performance degradation.
It's also not foreseeable at this point, when someone will have time for it, unfortunately.