I am editing some files with the extension \'.ctp\'. Although these files are perfectly valid PHP files, Eclipse doesn\'t seem to know that and refuses to do any syntax highligh
In Preferences, go to General -> Content Types. Unfold Text, then go to PHP Content Type. Click Add and input *.ctp. Then apply your changes.
You may need to restart eclipse to take effect.