Is it possible to use Interactive shell in PHPstorm like PyCharm?
From the main menu, select View | Tool Windows | Terminal or press Alt+F12 .
PhpStorm is a fast and exceptionally smart IDE tailored for PHP developers. PhpStorm truly understands your code. It provides intelligent coding assistance and refactoring capabilities, highlights and fixes errors on the fly, and allows you to debug and test your code easily.
NOTE: PhpStorm includes all the functionality of WebStorm (HTML/CSS Editor, JavaScript Editor) and adds full-fledged support for PHP and Databases/SQL.
Supported languages With PhpStorm, you can develop applications in PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0, and PHP 8.1. See Supported PHP Versions for details.
PhpStorm 10, released on November 2, 2015, has an interactive shell (or PHP "REPL"). To see it in action, you can try one of the Early Access Program (EAP) releases.
As people seem to have trouble figuring out how to use the new feature, I attach a screenshot:
No, but there's a feature request for it you can track.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With