easy one:
emacs plop.php
meta-x global-font-lock-mode
meta-x c++-mode
More stily:
use
http://sourceforge.net/projects/php-mode/
Have a ~/.emacs with something like
(autoload 'php-mode "php-mode" "PHP editing mode" t)
(add-to-list 'auto-mode-alist '("\.php3\'" . php-mode))
(add-to-list 'auto-mode-alist '("\.php\'" . php-mode))
(global-font-lock-mode)
(setq load-path (append '("/home/pamadio/lisp-stuff") load-path))
then emacs plop.php
Enjoy.