rfc:optional-interfaces
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:optional-interfaces [2025/02/09 20:57] – Extend based on feedback tontonsb | rfc:optional-interfaces [2025/04/03 13:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Optional Interfaces ====== | ====== PHP RFC: Optional Interfaces ====== | ||
- | * Version: | + | * Version: |
* Date: 2024-12-28 | * Date: 2024-12-28 | ||
* Author: Juris Evertovskis, | * Author: Juris Evertovskis, | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 122: | Line 122: | ||
// Fatal error: TestClass:: | // Fatal error: TestClass:: | ||
</ | </ | ||
+ | |||
+ | By using ''# | ||
+ | |||
+ | <PHP> | ||
+ | class Signable implements ? | ||
+ | { | ||
+ | # | ||
+ | public function getDoc(): string | ||
+ | { | ||
+ | return $this-> | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
==== Type checks ==== | ==== Type checks ==== | ||
Line 248: | Line 262: | ||
Yes or no vote. 2/3 required to pass. | Yes or no vote. 2/3 required to pass. | ||
- | <doodle title=" | + | Voting started on 2025-03-14 and will close on 2025-03-29 00:00:00 UTC. |
+ | |||
+ | <doodle title=" | ||
* Yes | * Yes | ||
* No | * No |
rfc/optional-interfaces.1739134630.txt.gz · Last modified: 2025/04/03 13:08 (external edit)