rfc:remove_alternative_php_tags
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:remove_alternative_php_tags [2014/09/09 21:49] – nikic | rfc:remove_alternative_php_tags [2014/09/23 17:22] – nikic | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | This RFC proposes the removal of ASP tags (''< | + | This RFC proposes the removal of ASP tags (''< |
The following syntactical elements are removed: | The following syntactical elements are removed: | ||
* ''< | * ''< | ||
- | * ''< | + | * ''< |
* '' | * '' | ||
* '' | * '' | ||
Line 20: | Line 20: | ||
The listed opening tags will no longer enter PHP mode and the listed closing tags will no longer leave PHP mode. | The listed opening tags will no longer enter PHP mode and the listed closing tags will no longer leave PHP mode. | ||
- | Additionally the '' | + | Additionally the '' |
+ | |||
+ | This RFC does //**not**// remove short opening tags (''<?'' | ||
===== Reasoning ===== | ===== Reasoning ===== | ||
Line 28: | Line 30: | ||
* ASP tags [[http:// | * ASP tags [[http:// | ||
* Supporting different tags allows very weird mixing like '' | * Supporting different tags allows very weird mixing like '' | ||
+ | |||
+ | ===== Porting tool ===== | ||
+ | |||
+ | To simplify porting of legacy code using the alternative tags, a [[https:// | ||
+ | |||
+ | < | ||
+ | php -d asp_tags=1 portAlternativeTags.php dir/ | ||
+ | </ | ||
===== Vote ===== | ===== Vote ===== | ||
As this is a language change a 2/3 majority is required. | As this is a language change a 2/3 majority is required. |
rfc/remove_alternative_php_tags.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1