A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wiki.php.net/rfc/remove_alternative_php_tags below:

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:

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. Trying to enable asp_tags will result in a core error.

This RFC does not remove short opening tags (<?) or short opening tags with echo (<?=).

Reasoning

To simplify porting of legacy code using the alternative tags, a porting script is provided. The script takes a directory and will replace ASP and script tags in all .php files contained in this directory:

php -d asp_tags=1 portAlternativeTags.php dir/
Vote

The vote started on 2014-09-24 and ended on 2014-10-01. The required 2/3 majority has been reached, as such this RFC is accepted.

rfc/remove_alternative_php_tags.txt ยท Last modified: 2025/04/03 13:08 by 127.0.0.1


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3