In the next PhpStorm 2019.3 release, we expect all the PHP 7.4 features to be supported, such as arrow functions, numeric literals seprator, covariant returns and contravariant parameters, and more. In this upcoming version, PHP will bring the operator into array expressions, which PhpStorm 2019.2 supports as well:īehind the scenes, PhpStorm also checks for correct usage of the operator and makes sure you are unpacking only arrays and Traversables and not doing anything that is not supported by the PHP interpreter: PHP has already supported argument unpacking (a.k.a. The syntax support and highlighting in PhpStorm goes without saying, but PhpStorm also comes with a quick-fix Alt+Enter to reduce redundancy when the ? operator occurs: The new shorthand assignment operator with a check for null is quite handy, especially when you have some long variables or statements. PhpStorm will detect the type automatically based on the PHPDoc, default value, or argument type declaration if the value is injected via constructor. To quickly add a type declaration, press Alt+Enter over a property without a type, and then choose Add declared type for the field. The most anticipated feature is Typed Properties, and PhpStorm 2019.2 already fully supports it! This includes highlighting, type inference, and checks. PHP 7.4 is going to be the most outstanding and feature-rich release since PHP 7.0! Check out all the accepted features. It’s a combination of all the EAP blog posts that we’ve been publishing here over the past several months. In this blog post, we’ll go through all the significant changes in detail. Along with performance and stability improvements, this major release brings new features such as support for PHP 7.4 Typed Properties, locating duplicated code on the fly, highlighting and checks for RegExps in PHP, out-of-the-box support for EditorConfig, Shell Scripts, syntax highlighting for over 20 programming languages, and loads more!Įxplore the top new features and download PhpStorm 2019.2 on our website.