rfc:constants_in_traits
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:constants_in_traits [2022/07/04 22:28] – Clearly state that traits containing constants can be used in enumerations sji | rfc:constants_in_traits [2022/08/04 19:17] (current) – Move the status to implemented sji | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Constants in Traits ====== | ====== PHP RFC: Constants in Traits ====== | ||
- | * Version: 0.2 | + | * Version: 0.2.1 |
* Date: 2022-06-21 | * Date: 2022-06-21 | ||
* Author: Shinji Igarashi< | * Author: Shinji Igarashi< | ||
- | * Status: | + | * Status: |
* Implementation: | * Implementation: | ||
* First Published at: http:// | * First Published at: http:// | ||
Line 40: | Line 40: | ||
<code php> | <code php> | ||
- | intertface | + | interface |
public const FLAG_1 = 1; | public const FLAG_1 = 1; | ||
public function doFoo(int $flags): void; | public function doFoo(int $flags): void; | ||
Line 356: | Line 356: | ||
- | ===== Proposed Voting Choices | + | ===== Vote ===== |
- | A 2/3 majority is needed for this RFC to pass. Voting | + | A 2/3 majority is needed for this RFC to pass. Voting |
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
rfc/constants_in_traits.1656973735.txt.gz · Last modified: 2022/07/04 22:28 by sji