rfc:records

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:records [2024/11/16 22:39] – Updates and details added withinboredomrfc:records [2024/11/17 21:38] (current) withinboredom
Line 4: Line 4:
   * Date: 2024-07-19   * Date: 2024-07-19
   * Author: Robert Landers, <landers.robert@gmail.com>, <rob@bottled.codes>   * Author: Robert Landers, <landers.robert@gmail.com>, <rob@bottled.codes>
-  * Status: Draft (or Under Discussion or Accepted or Declined)+  * Status: Under Discussion (or Accepted or Declined)
   * First Published at: http://wiki.php.net/rfc/records   * First Published at: http://wiki.php.net/rfc/records
  
Line 555: Line 555:
  
 Records will be autoloaded in the same way as classes. Records will be autoloaded in the same way as classes.
 +
 +==== New Functions ====
 +
 +  * ''%%record_exists%%'' will return ''%%true%%'' if a record exists and ''%%false%%'' otherwise. It has the same signature as ''%%class_exists%%''.
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
Line 590: Line 594:
 ===== Open Issues ===== ===== Open Issues =====
  
-To-do+  * Distill how CoW works, exactly. 
 +  * Address conflict with ''%%&%%'' syntax: https://3v4l.org/CE5rt
  
 ===== Unaffected PHP Functionality ===== ===== Unaffected PHP Functionality =====
Line 599: Line 604:
  
   * Records for "record-like" types, such as DateTime, DateInterval, and others.   * Records for "record-like" types, such as DateTime, DateInterval, and others.
 +  * Short definition syntax for classes
  
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
rfc/records.1731796794.txt.gz · Last modified: 2024/11/16 22:39 by withinboredom