Early Access Program

PhpStorm 2016.2 EAP 162.917

The new PhpStorm 2016.2 EAP build (162.917) is now available for download! You can download it here or, if you have installed the previous PhpStorm 2016.2 EAP build (162.844), you should soon get a notification in the IDE about a patch update.

This build includes new features, bug fixes and improvements for PHP and the Web, and takes on the latest improvements in IntelliJ Platform.

Initial support for PHP 7.1

The great news is we’ve added initial support for PHP 7.1! Now it supports visibility modifiers for class constants (WI-30762), keys in the list() construct (WI-30730), null return types and nullable arguments (WI-32002), and multiple catch exceptions (WI-32150).

This a first but important step towards supporting PHP 7.1. Parsing for PHP 7.1 works already, while we’re still working on refactorings, code inspections, and more (please see the related issues).

PHP71

On demand load of Debug Extension for CLI configurations

In PhpStorm 2016.2 you can load a Debug Extension for CLI on demand, e.g. when Debugger/Code coverage is required. This dramatically increases execution speed, by a factor of 2 to 3.

To take advantage of this feature, delete the path to debugger extension from CLI php.ini (just click Open in Editor in the Interpreter Settings dialog). Then specify this path in the Debugger Extension field within Interpreters setting. It’s implemented in such a way that when you use the Debugger extension option, -dzend_extension=<your_path_to_extension> is added for PHP when PHP CLI Debug is run and PHPUnit Coverage is configured.

Extension1

Type inference: extend type inference of already inferred variables

When a type is already inferred, e.g. from a @var tag, it can now be extended by further inferences, e.g. by an instanceof condition.

type2

 Template Projects

In PhpStorm 2016.2, you can save any project as a template and create a new one based on it. In the Tools menu you will find a new action, Save Project as Template. As soon as it’s saved, the Template is available as as user-defined template in the New Project window.

SaveTemplate

Bundled Node.js, AngularJS and Markdown plugins

PhpStorm now has Node.js, AngularJS and Markdown plugins bundled, meaning that you don’t have to search for the them in the repository anymore. Simply use them right off the bat.

See the full list of bug-fixes and improvements list in our issue tracker and in the complete release notes.

Download PhpStorm 2016.2 EAP build 162.646 for your platform from the project EAP page and please do report any bugs and feature request to our Issue Tracker. A patch update from the previous version (PhpStorm 2016.2 EAP build 162.844) is already available.

Your JetBrains PhpStorm Team
The Drive to Develop

image description