In PhpStorm, when you double click on a variable, say $_helloWorld, it just selects a part of the variable. For example, when you double click on World
$_helloWorld
World
Using WebStorm on Windows 8.1 I was able to fix this by going to
File > Settings > [IDE Settings] > Editor
and disabling the following option:
Honor "CamelHumps" words settings when selecting on double click