Re: Can we "add" keywords?

From: Date: Mon, 02 Dec 2013 18:07:42 +0000
Subject: Re: Can we "add" keywords?
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-11345@lists.php.net to get a copy of this message
I think it is possible to do the way Guard Loader/ionCube works. Yuri On 02 Dec 2013, at 21:17, Mike <mike.php.net@gmail.com> wrote: > On Mon, 2013-12-02 at 13:24 +0100, Kevin Ingwersen wrote: >> Hey! >> >> I got started with objective C and reeeally like it. But it got me an >> idea I thought about: Is it actually possible to add/change a keyword >> in PHP from an extension? >> >> Like if i wanted to change interface to @interface and class to >> @implement - is that even possible? And for adding a keyword, I thought >> about something like echo - which is like „a function without >> brackets“. Is that possible as well? > > No, all these things are "hardcoded" in the parser. > > -- > Regards, > Mike > > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Attachment: [application/pkcs7-signature] smime.p7s
« previous php.pecl.dev (#11345) next »