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
For me, PhpStorm on Linux will only select entire variables on double click if I have the option:
File | Settings | Editor | General Honor "CamelHumps" word settings when selecting using double click
File | Settings | Editor | General
Honor "CamelHumps" word settings when selecting using double click
turned off. See documentation here.