offer a way to declare new constants

you can add
(setq php-mode-extra-constants
      '("DOC_URL")) in your .emacs