Early Access Program

PhpStorm 2018.2.3 EAP 182.4323.23

It’s a start of Early Access Program for PhpStorm 2018.2.3, a minor update for the recently released PhpStorm 2018.2. A fresh build 182.4323.23 is available here, in JetBrains Toolbox App or, if you have installed PhpStorm 2018.2 and have “Early Access Program” channel selected in Settings->System Settings->Updates, you should soon get a notification in the IDE about a patch update.

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

PHP 7.3 Support

The new version of PHP interpreter is just around the corner. The 3rd and the last beta is expected to arrive on August 30.
PhpStorm is adding support for new PHP features (WI-42883), and the first two are list reference assignment and instanceof  behavior change.

Support for list reference assignment:

list_reference_assignment

PHP 7.3 introduces the enhancement for list() construction, which allows using references:

   $array = [1, 2];
   list($a, &$b) = $array;

// Would be equivalent to the following:

    $array = [1, 2];
    $a = $array[0];
    $b =& $array[1];

You may use the short syntax [] as well:

   $array = [1, 2];
   [$a, &$b] = $array;

Support for literals as the first operand of instanceof

instanceof_literal_first_operand

In PHP <7.3 this would cause the “instanceof expects an object instance, constant given” fatal error. In PHP 7.3, the result is always false.

DQL Support

We have also started working on the full Doctrine Query Language (DQL) support (WI-9948). Injections of SQL inside text literals will now be automatically disabled for strings with DQL identifiers. This will eliminate false positives and make your files clean from warnings. Stay tuned for more!

Notable bug fixes and features worth mentioning:

  • Fixed: LoginToGithub dialog invoked from CloneRepository dialog hides immediately (IDEA-192530)
  • Fixed: Vue.j SFC not resolving @ alias with @vue/cli 3 if vue is installed in a subfolder (WEB-32564)

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


Download PhpStorm 2018.2.3 EAP build 182.4323.23 for your platform from the project EAP page or click “Update” in your JetBrains Toolbox App and please do report any bugs and feature request to our Issue Tracker.

Your JetBrains PhpStorm Team
The Drive to Develop

image description