It appears that php-mode for Emacs isn’t actively maintained any more. This is too bad, since I’m a PHP programmer who uses Emacs.
After waiting quite a while for a new version, I decided to take it upon myself to fix some of the problems I found instead.
__CLASS__ constant is not highlighted as a class declaration anymore.__FILE__, __LINE__, __CLASS__, and __FUNCTION__ are all correctly highlighted as constants.function foo(Bar &$bar)) are now highlighted correctly.There are still issues, but I think they’re outside my Lisp programming ability, for the moment. This is certainly an improvement for now, though.
» Patch against php-mode.el v1.2.0
Discussion