I think it is possible to do the way Guard Loader/ionCube works.

Yuri

On 02 Dec 2013, at 21:17, Mike <[email protected]> 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: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to