It is quite easy now, to do this in Eclipse for PHP Developers. My eclipse version is Mars.2 Release (4.5.2) Build Id: 20160218-0600.
You just need to put your cursor over the php variable you want to rename, then Right-Click your mouse and select Refactor -> Rename. As soon as you do that, you will straight away see that all the variables, with the exact same name, within that php function, are now selected. You just need to start editing the variable. It will also give you visual cue, how all them are changed simultaneously, while you are editing.
The php functions within a class (locally not globally) can also be changed in similar fashion.
I find it easy, to use the keyboard shortcut on my mac, by pressing Command + Alt + R
Note: Please don't highlight the variable name, otherwise it behaves weirdly.