rfc:saner-inc-dec-operators
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:saner-inc-dec-operators [2023/06/19 14:40] – Wording nits girgias | rfc:saner-inc-dec-operators [2023/06/28 17:31] – Fix one last typo theodorejb | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Date: 2022-11-21 | * Date: 2022-11-21 | ||
* Author: George Peter Banyard, < | * Author: George Peter Banyard, < | ||
- | * Status: | + | * Status: |
* Target Version: PHP 8.3, PHP 8.(3+x), and PHP 9.0 | * Target Version: PHP 8.3, PHP 8.(3+x), and PHP 9.0 | ||
* Implementation: | * Implementation: | ||
Line 68: | Line 68: | ||
</ | </ | ||
- | The only examples of an internal class that does not implements | + | The only examples of an internal class that does not implement |
<PHP> | <PHP> | ||
$o = tidy_parse_string("< | $o = tidy_parse_string("< | ||
Line 525: | Line 525: | ||
Therefore, we consider the value of reducing the semantic complexity of PHP higher than keeping support for this feature in its current form. | Therefore, we consider the value of reducing the semantic complexity of PHP higher than keeping support for this feature in its current form. | ||
- | The introduction of the < | + | The introduction of the < |
<PHP> | <PHP> | ||
function str_increment_polyfill(string $s): string { | function str_increment_polyfill(string $s): string { | ||
Line 550: | Line 550: | ||
</ | </ | ||
- | ==== Impact on userland ==== | + | ==== Impact |
- | To determine the impact of this RFC on userland the static analysis tool [[https:// | + | To determine the impact of this RFC on userland, the static analysis tool [[https:// |
- | The only non-false-positive use cases found were all instances of the PERL string increment | + | The only non-false-positive use cases using the PERL string increment |
- | * Generating a list of valid unicode (or ASCII) characters, the most popular project using this is HTMLPurifier | + | * Generating a list of valid unicode (or ASCII) characters. The most popular project using this is HTMLPurifier, which no longer does so as of [[https:// |
- | * Generating sequential IDs, this only happens in amphp/amp, however a lot of other project | + | * Generating sequential IDs. The main library doing this is amphp/amp, however a lot of other projects |
- | * Incrementing a spreadsheet column | + | * Incrementing a spreadsheet column. |
In any of these cases, no deprecation notices would be emitted in the first stage of this RFC. | In any of these cases, no deprecation notices would be emitted in the first stage of this RFC. | ||
- | As the first stage of this RFC also provides the < | + | As the first stage of this RFC also provides the < |
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 585: | Line 585: | ||
As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. | As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. | ||
- | Voting started on 2023-XX-XX and will end on 2023-XX-XX. | + | Voting started on 2023-06-28 and will end on 2023-07-12. |
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No |
rfc/saner-inc-dec-operators.txt · Last modified: 2023/07/17 14:52 by girgias