Remove defer
Bind query-replace-regexp to C-u M-%
Create php.el
Enable php-eldoc