rfc:deprecate_php_short_tags
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:deprecate_php_short_tags [2019/04/09 08:28] – girgias | rfc:deprecate_php_short_tags [2019/08/06 17:37] (current) – Change status to obsolete girgias | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2019-03-20 | * Date: 2019-03-20 | ||
* Author: George Peter Banyard, < | * Author: George Peter Banyard, < | ||
- | * Status: | + | * Status: |
+ | * Target Version: PHP 7.4 | ||
+ | * Implementation: | ||
* First Published at: http:// | * First Published at: http:// | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | PHP has provided over the years different ways to indicate the beginning of PHP code other than the standard < | + | PHP has provided over the years different ways to indicate the beginning of PHP code other than the standard < |
===== Proposal ===== | ===== Proposal ===== | ||
- | Deprecate and disable < | + | Deprecate and disable < |
===== Reasoning ===== | ===== Reasoning ===== | ||
- | * The PHP [[https://secure.php.net/ | + | * The PHP [[https:// |
- | * PHP short open tags clash with XML ''<? | + | * PHP' |
- | * PHP short open tags depend on an INI directive and as such are non-portable. | + | * PHP' |
* As such source code may leak if PHP relying on the short open tags is executed on a configuration where this isn't enabled. | * As such source code may leak if PHP relying on the short open tags is executed on a configuration where this isn't enabled. | ||
+ | * PHP's parser simplification. | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 44: | Line 47: | ||
===== Feedback ===== | ===== Feedback ===== | ||
- | ((https:// | + | Facebook poll ((https:// |
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
Line 55: | Line 58: | ||
Secondary vote: Remove PHP's short open tags in PHP 8.0.\\ | Secondary vote: Remove PHP's short open tags in PHP 8.0.\\ | ||
Requires a 2/3 majority. | 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) | ||
<doodle title=" | <doodle title=" | ||
Line 69: | Line 74: | ||
https:// | https:// | ||
https:// | https:// | ||
- | TBD Documentation patch | + | TBD Documentation patch\\ |
===== Implementation ===== | ===== Implementation ===== | ||
Line 80: | Line 85: | ||
===== References ===== | ===== References ===== | ||
[[https:// | [[https:// | ||
- | [[https:// | + | [[https:// |
+ | [[https:// |
rfc/deprecate_php_short_tags.txt · Last modified: 2019/08/06 17:37 by girgias