Re: $obj->attr::method() is not allowed

From: Date: Mon, 03 Sep 2012 16:05:34 +0000
Subject: Re: $obj->attr::method() is not allowed
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-62752@lists.php.net to get a copy of this message
On 03/09/12 17:03, Laruence wrote:
It is great parser(simple and fast) which make php works well for years.. No, it's not, it's overly complex. You have to define all sorts of different expression and variable variations :(
rewrite the parser for what? for more academism? No, because current one is constraining implementation of some things, and making some things impossible. (we are limited, for instance, in options for order that generator expressions (e.g. Python's [i*2 for i in range(6)]) could be)
we will rewrite it soon or later, but it's not because current one is bad, it will because a better parser tool shows up... Well, current one is bad. It only works well for some common cases. For others, it doesn.t
-- Andrew Faulds http://ajf.me/

« previous php.internals (#62752) next »