--- vim72/runtime/scripts.vim~ 2008-10-09 03:12:50.000000000 +0300
+++ vim72/runtime/scripts.vim 2008-10-09 03:12:54.703954160 +0300
@@ -246,6 +246,10 @@
- elseif s:line1 =~ '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
+ elseif s:line1 =~# '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
set ft=xxd
+ " PHP script tag
+ set ft=php
+
" RCS/CVS log output
- elseif s:line1 =~ '^RCS file:' || s:line2 =~ '^RCS file:'
+ elseif s:line1 =~# '^RCS file:' || s:line2 =~# '^RCS file:'
set ft=rcslog
--- vim73/runtime/filetype.vim~ 2010-10-31 13:26:19.000000000 +0200
+++ vim73/runtime/filetype.vim 2010-10-31 13:27:17.615314321 +0200
+" Also .phpt for PHP Test files
+au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt setf php
- " Pike
- au BufNewFile,BufRead *.pike,*.lpc,*.ulpc,*.pmod setf pike
+ " PHP config
+ au BufNewFile,BufRead php.ini-* setf dosini