rfc:static-aviz

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:static-aviz [2024/10/23 05:27] – Add code example crellrfc:static-aviz [2025/02/27 20:51] (current) – Close the vote crell
Line 3: Line 3:
   * Date: 2024-10-23   * Date: 2024-10-23
   * Author: Ilija Tovilo (tovilo.ilija@gmail.com), Larry Garfield (larry@garfieldtech.com)   * Author: Ilija Tovilo (tovilo.ilija@gmail.com), Larry Garfield (larry@garfieldtech.com)
-  * Status: Draft+  * Status: Approved
   * First Published at: http://wiki.php.net/rfc/static-aviz   * First Published at: http://wiki.php.net/rfc/static-aviz
  
Line 33: Line 33:
 Example::$classTitle = 'Nope'; // Disallowed. Example::$classTitle = 'Nope'; // Disallowed.
 </code> </code>
 +
 +Note that some aviz functionality relates to ''final'' properties specifically, such as ''private(set)'' being implicitly ''final'' ''final'' static properties are already supported in PHP, so that poses no concern for this RFC.
 +
 +==== Exclusions ====
 +
 +Of note, ''readonly'' and property hooks are not affected by this RFC.  Those remain available only on object properties.  They have their own implementation complexities and use case considerations, and if there is interest would be a subject for another time.
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
Line 52: Line 58:
  
 2/3 yes or no vote. 2/3 yes or no vote.
 +
 +Vote opened 12 February 2025
 +Vote closes 26 February 2025
 +
 +<doodle title="Approve asymmetric visibility for static properties?" auth="crell" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
 +
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
rfc/static-aviz.1729661225.txt.gz · Last modified: 2024/10/23 05:27 by crell