rfc:get_declared_enums
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:get_declared_enums [2024/08/20 02:32] – created jrf | rfc:get_declared_enums [2024/10/01 22:38] (current) – Status change jrf | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Version: 0.1 | * Version: 0.1 | ||
* Date: 2024-08-19 | * Date: 2024-08-19 | ||
- | * Author: Juliette Reinders Folmer (php.net_nospam@adviesenzo.nl), | + | * Author: Juliette Reinders Folmer (<php.net_nospam@adviesenzo.nl>), Ayesh Karunaratne (<ayesh@php.watch>) |
- | * Status: | + | * Status: |
* Implementation: | * Implementation: | ||
* First Published at: http:// | * First Published at: http:// | ||
Line 16: | Line 16: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | There are four different | + | There are four different OO structures in PHP: |
* Classes | * Classes | ||
* Interfaces | * Interfaces | ||
Line 262: | Line 262: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | Each vote would need a 2/3 majority. | + | Each vote would need a 2/3 majority. Voting started on 2024-XX-XX |
+ | YY:YY UTC and closed on 2024-XX-XX YY:YY UTC. | ||
- | ### Add a new get_declared_enums() function in the next PHP 8.x | + | <doodle title=" |
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | \\ | ||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | \\ | ||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
- | ### Deprecate using class_exists() for enums in PHP 8.x and change class_exists() to return false for enums in PHP 9.0 | ||
- | |||
- | ### Remove enums from the return value of get_declared_classes() in PHP 9.0 | ||
* The third vote is conditional on the first vote passing. | * The third vote is conditional on the first vote passing. |
rfc/get_declared_enums.1724121164.txt.gz · Last modified: 2024/08/20 02:32 by jrf