PHPStorm is an IDE. It can be used as a simple editor but compared to the other it sucks at it, very clunky.
VS Code is an editor. It can be used as an almost IDE with refactoring and stuff but compared to the other it sucks at it, very clunky.
I use both, for PHP and for Go, and they're very different beasts who both have their uses. It's weird to me that one could consider them in competition or having to "chose one" between them, unless you don't really know what kind of tool you want to work with.