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

From: Date: Mon, 03 Sep 2012 16:22:40 +0000
Subject: Re: $obj->attr::method() is not allowed
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-62755@lists.php.net to get a copy of this message
On 03/09/12 17:17, Laruence wrote:
On Tue, Sep 4, 2012 at 12:05 AM, Andrew Faulds <ajf@ajf.me> wrote:
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 :(
if you don't, you will get a complex executor. Not really, type checks are cheap.
I really don't get it, you are saying current is bad, but every language has defects, either parser, or executor. why do you think rewrite a new parser will make every think perfect? there is no perfect language at all. I don't mean perfect, but current parser in PHP is very limiting compared to other language parsers, and it makes doing things more difficult, and creates lots of things which should work but don;t.
-- Andrew Faulds http://ajf.me/

« previous php.internals (#62755) next »