Not only `$` also `->` is a valid variable start.
Added PHP test code for #481
Merge pull request #482 from scrivo/master

Updated php.js and test.html