-
-
Notifications
You must be signed in to change notification settings - Fork 344
3.0 Roadmap
Anders Jenbo edited this page May 28, 2024
·
27 revisions
This outlines the development roadmap of the 3.0 major release.
- Bump PHP mimium requirement to PHP 8.1
- Make use of PHP language features up to PHP 8.1
-
PHP 5.4.0
- Shortened array syntax
- Traits
- Array dereferencing support
- Callable typehint
- Class member access on instantiation (e.g. (new foo)->bar()) support
-
PHP 5.5.0
- Generators
- Support of
finally
keyword - Scalar class name resolution via ::class
-
PHP 5.6.0
- Constant scalar expressions
- Variadic functions and argument unpacking using the ... operator
- Function and constant importing with the use keyword.
-
PHP 7.0.0
- Improved Exception hierarchy
- The null coalescing operator (??)
- Return and Scalar Type Declarations
- Anonymous classes
-
PHP 7.1.0
- Nullable types
- Void return type
- Iterable pseudo-type
- Class constant visiblity modifiers
- Square bracket syntax for list() and the ability to specify keys in list()
- Catching multiple exceptions types
-
PHP 7.2.0 / PHP 7.3: What's New and Changed
- Object typehint
Allow trailing comma in function and method calls
-
PHP 7.4.0 / PHP 7.4: What's New and Changed
- Typed Properties
- Arrow Functions
- Limited Return Type Covariance and Argument Type Contravariance
- Unpacking Inside Arrays
-
PHP 8.0.0 / PHP 8.0: What's New and Changed
- Union Types
- Named Arguments
- Match Expressions
- Attributes
- Constructor Property Promotion
- Nullsafe Operator
-
PHP 8.1.0 / PHP 8.1: What's New and Changed
- Enumerations
- Readonly properties
- Pure Intersection Types
-
final
modifier for class constants
-
PHP 5.4.0
- Upgrade dependencies & sub dependencies
- PHP Depend to 3.0
- PHPUnit to 10.5
- composer/xdebug-handler to 3.0