rfc:constructor_return_type
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:constructor_return_type [2020/06/14 20:56] – updated RFC moliata | rfc:constructor_return_type [2020/06/16 21:14] – deleted RFC moliata | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PHP RFC: Allow void return type on constructors/ | ||
- | * Date: 2020-06-14 | ||
- | * Author: Benas Seliuginas, < | ||
- | * Status: Draft | ||
- | * Target version: PHP 8.0 | ||
- | ===== Introduction ===== | ||
- | RFC proposes to allow using '' | ||
- | |||
- | ===== Proposal ===== | ||
- | ==== Documented as void ==== | ||
- | ... | ||
- | |||
- | ==== Explicit declaration ==== | ||
- | ... | ||
- | |||
- | ==== Consistency with other methods ==== | ||
- | ... | ||
- | |||
- | ==== __clone() allows void return type ==== | ||
- | ... | ||
- | |||
- | Note: only as part of the " | ||
- | |||
- | ===== Backward Incompatible Changes ===== | ||
- | None. | ||
- | |||
- | To ensure backwards compatibility, | ||
- | |||
- | ===== Vote ===== | ||
- | 2/3 majority Yes/No. | ||
- | |||
- | ===== Implementation ===== | ||
- | [[https:// |
rfc/constructor_return_type.txt · Last modified: 2020/06/17 10:04 by cmb