Re: Remove alternative PHP tags

From: Date: Thu, 11 Sep 2014 22:54:02 +0000
Subject: Re: Remove alternative PHP tags
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-77154@lists.php.net to get a copy of this message
Nikita Popov wrote: > I've created a small RFC proposing the removal of the alternative PHP > opening/closing tags: > > https://wiki.php.net/rfc/remove_alternative_php_tags > > It removes <% and <script language=php> and the other variations of asp and > script tags. The RFC states: | The alternative PHP tags have never gained any significant degree of | usage. Their usage has been discouraged since forever. Unfortunately, it seems that the PHP manual doesn't mention that all these PHP tags are discouraged. <http://php.net/manual/en/language.basic-syntax.phpmode.php> only mentions: | As such, while some people find short tags and ASP style tags | convenient, they are less portable, and generally not recommended. I wonder if there are any faithful stats regarding the usage of the alternative PHP tags. I have never seen them in use (I have not even been aware of the <script ...> tags), but that doesn't mean much. -- Christoph M. Becker

« previous php.internals (#77154) next »