Re: Remove alternative PHP tags

From: Date: Fri, 12 Sep 2014 18:41:30 +0000
Subject: Re: Remove alternative PHP tags
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-77163@lists.php.net to get a copy of this message
On 12 Sep 2014, at 19:08, Nikita Popov <nikita.ppv@gmail.com> wrote: > I have added a small script for porting prehistoric tags, see > https://wiki.php.net/rfc/remove_alternative_php_tags#porting_tool That’s great! To clarify: This only works on 5.x where asp_tags is available, yes? > I am amenable to adding the asp_tags option to the > http://lxr.php.net/xref/PHP_TRUNK/main/main.c#2339 list, which will > trigger a fatal error on startup if it is enabled - that should make sure that anyone using those is > aware of the problem (we can also add it to the deprecated list in 5.7, should we have such a > release). Doesn't apply to <script> of course. That’d partly solve the problem. Perhaps we could make the lexer continue to lex <script> but throw an E_COMPILE_ERROR? Then I’d be happy. -- Andrea Faulds http://ajf.me/

« previous php.internals (#77163) next »