Is it possible to use the Interactive Shell in PHPstorm, for example PyCharm?
No, but there is a query function that you can track.
PhpStorm 10, released on November 2, 2015, has an interactive shell (or PHP "REPL") . To see this in action, you can try one of the editions of the Early Access Program (EAP) .
Since people seem to have problems figuring out how to use the new feature, I am attaching a screenshot: