PHP has provided over the years different ways to indicate the beginning of PHP code other than the standard <?php ... ?>
open tags. Most of these opening tags have been removed with PHP 7.0.01), however, PHP's short open tags still remain.
Deprecate and disable short_open_tag
in PHP 7.4 and remove PHP's short open tags in PHP 8.0.
<?xml ?>
and can mean two different things depending on the INI configuration.
Every script which currently uses the discouraged short <?
open tag will need to convert to the standard <?php
open tag.
This can be automatically achieved by using the “full_opening_tag”
fixer from PHP-CS-Fixer.
Deprecation notice and default value changed to Off in PHP 7.4 and removal in PHP 8.0.
None.
Readline and Tokenizer have been updated in the implementations patches.
None to my understanding.
Change short_open_tag
from “1”
to “0”
.
The <?=
short tag is unaffected because as of PHP 5.4 it is always available.
Facebook poll 2) created by Peter Kokot: 73 for, 2 against.
Yes/No for boths votes.
Primary vote: Deprecate PHP's short open tags in PHP 7.4.
Requires a 2/3 majority.
Secondary vote: Remove PHP's short open tags in PHP 8.0.
Requires a 2/3 majority.
Voting started on 2019-04-10 at 10:40 UTC and ran until 2019-04-24 11:20 UTC (for two (2) weeks)
https://github.com/php/php-src/pull/3972 PHP 7.4 Deprecation Notice Implementation
https://github.com/php/php-src/pull/3975 PHP 8.0 Removal Implementation
TBD Documentation patch
After the project is implemented, this section should contain
Initial feedback on Internals (link to External.io)
RFC Announcement on Internals (link to External.io)
RFC Vote Announcement on Internals (link to External.io)