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.
The line is too blurred between the 2 and it doesn’t really matter anyway.
Nearly all text editors these days are just modular IDEs, people add on the bits they want and do their work in them. May as-well just use IDE to describe all of them.
But for VSCode, the distinction just isn't there anymore. It has integrated debugging, refactoring, indexing, and all sorts of other language-specific features.