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
Please enable this option: File | Settings | IDE settings | Editor | Smart keys | Use "CamelHumps" words.
And check if this one enabled: File | Settings | IDE Settings | Editor | Honor "CamelHumps" word settings when selecting using double click.