Method parsing

Removed the PHP scope resolution operator "->" from the regexp to parse methods, as Ivan suggested.
I am not sure if my update is enough or if something more has to be added in the return object of the anonymous function in the php.js file.