Unfortunately, I often find myself editing files that are mixed PHP and
HTML, and ending with a “.php” extension. For most smaller
projects/tasks, I use emacs at the
command line (nox) and my .emacs settings for
php-mode will latch onto the “.php”
extension and open it with PHP mode …
more ...