phpstorm selecting text
Toggling between line and column selection modes
To toggle between the line and the column selection modes, do one of the following:
On the main menu, choose Edit | Column Selection Mode. On the context menu of the editor, choose Column Selection Mode. Press Shift+Alt+Insert.
https://www.jetbrains.com/help/phpstorm/2016.1/selecting-text-in-the-editor.html?origin=old_help
I like using VSCode keybindings on mac, and for me the hotkey was shift+option+left click
On mac you'r shortcut is ⇧+⌘+8 (shift+command+8)
You've enabled Column Selection Mode, it can be toggled from the Edit menu or with the corresponding keyboard shortcut.