Make php-mode work with Emacs 24.4

As discussed here: http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-10/msg01332.html