rfc:php8
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:php8 [2018/02/04 19:55] – levim | rfc:php8 [2018/08/11 18:35] – Add bug #75958 carusogabriel | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Ideas and Proposals ===== | ===== Ideas and Proposals ===== | ||
+ | |||
+ | Here are some ideas that have backwards compatibility implications: | ||
+ | |||
* Unify behavior of userland and internal functions. | * Unify behavior of userland and internal functions. | ||
* In particular when internal functions fail to parse argument types correctly they fail by returning null. Userland functions throw a TypeError. | * In particular when internal functions fail to parse argument types correctly they fail by returning null. Userland functions throw a TypeError. | ||
- | * **[[rfc: | + | |
- | * Add parameter contravariance and return type covariance. This will probably change when autoloads are triggered. Additionally we probably want to reserve new types related to variance such as '' | + | |
+ | * **[[rfc: | ||
+ | * Extend '' | ||
+ | * Unify class and abstract type error behaviors when method incompatibilities exists; see https:// | ||
+ | * Remove always '' | ||
+ | |||
+ | Here are some feature ideas: | ||
+ | |||
+ | * [[rfc: | ||
+ | * JIT (link?) | ||
+ | * FFI (link?) |
rfc/php8.txt · Last modified: 2018/08/12 00:16 by carusogabriel