rfc:remove_alternative_php_tags

This is an old revision of the document!


PHP RFC: Remove alternative PHP tags

Proposal

This RFC proposes the removal of ASP tags (<%) and script tags <script language=php>) as a means of entering or leaving PHP mode.

The following syntactical elements are removed:

  • <% opening tag
  • <%= short opening tag
  • %> closing tag
  • (<script\s+language\s*=\s*(php|“php”|'php')\s*>)i opening tag
  • (</script>)i closing tag

The listed opening tags will no longer enter PHP mode and the listed closing tags will no longer leave PHP mode.

Additionally the asp_tags ini directive is removed.

Vote

As this is a language change a 2/3 majority is required.

rfc/remove_alternative_php_tags.1410298337.txt.gz · Last modified: 2017/09/22 13:28 (external edit)