rfc:php8
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:php8 [2018/02/07 22:18] – levim | rfc:php8 [2018/08/12 00:16] (current) – Embrace functions and method in #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. | ||
Line 10: | Line 13: | ||
* **[[rfc: | * **[[rfc: | ||
* **[[rfc: | * **[[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 '' | ||
* Extend '' | * 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.1518041906.txt.gz · Last modified: 2018/02/07 22:18 by levim